From 1836f009172a248e087fcb15bbd2c549094073a5 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 2 Feb 2024 19:12:10 +0100 Subject: add linux kernel (WIP) --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index d692d93..6b4ce78 100644 --- a/makefile +++ b/makefile @@ -31,6 +31,7 @@ container_img: Containerfile # this list holds the .git files in each submodule folder (add # $(SUBMODULE_INIT) as prerequisite to require the submodules to exist) SUBMODULE_INIT += ./u-boot/.git +SUBMODULE_INIT += ./kernel/.git $(SUBMODULE_INIT): $(GIT) submodule init $(GIT) submodule update @@ -40,6 +41,11 @@ os_bootloader: $(SUBMODULE_INIT) $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C u-boot am335x_evm_config $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C u-boot +.PHONY: os_kernel +os_kernel: + $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C kernel omap2plus_defconfig + $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C kernel + # sd card block device prefix (assumed partition numbers, see readme.md) # SDCARD_BD_PREFIX := /dev/sdc SDCARD_BD_PREFIX := /dev/mmcblk0p -- cgit v1.2.3