aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-02 19:12:10 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-02 19:12:15 +0100
commit1836f009172a248e087fcb15bbd2c549094073a5 (patch)
tree835cfd14c525d5ae9ea7850aa3641c3611879ac0 /makefile
parent1bcb406bbc99d557e3d27c3d6473348f5196f0bc (diff)
add linux kernel (WIP)
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 6 insertions, 0 deletions
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