aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-03 14:10:28 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-03 14:10:28 +0100
commit73f170091b302d68f908e00628fb27c69aa44ce7 (patch)
tree7e7dcdf204feedf9aa74af4a6a4c7871881b8ebf /makefile
parent07e5ae9943e431f01a09245aee258d70257af262 (diff)
update kernel branch
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/makefile b/makefile
index c08c30f..ed5359e 100644
--- a/makefile
+++ b/makefile
@@ -13,8 +13,10 @@ GIT := git
CTR_IMG_TAG := avans-linux
CTRIZE := $(CTR) run --rm --interactive --tty
+CTRIZE += --volume /tmp:/tmp:rw
CTRIZE += --volume .:/workdir:rw
CTRIZE += --env-file ./env
+CTRIZE += --env MAKE*
CTRIZE += $(CTR_IMG_TAG)
export
@@ -39,8 +41,7 @@ state/container_img: Containerfile
touch $@
state/submodules:
- $(GIT) submodule init
- $(GIT) submodule update
+ $(GIT) submodule update --init
touch $@
state/sdcard_part:
@@ -56,15 +57,15 @@ BOOTLOADER_FILES += bootloader/MLO
BOOTLOADER_FILES += bootloader/u-boot.img
BOOTLOADER_FILES += bootloader/u-boot.dtb
bootloader/.config: state/submodules
- $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C bootloader am335x_evm_config
+ +$(CTRIZE) $(MAKE) -C bootloader am335x_evm_config
$(BOOTLOADER_FILES): bootloader/.config
- $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C bootloader
+ +$(CTRIZE) $(MAKE) -C bootloader
KERNEL_FILES += kernel/
kernel/.config: state/submodules
- $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C kernel omap2plus_defconfig
+ +$(CTRIZE) $(MAKE) -C kernel bb.org_defconfig
$(KERNEL_FILES): kernel/.config
- $(CTRIZE) $(MAKE) -$(MAKEFLAGS) -C kernel
+ +$(CTRIZE) $(MAKE) -C kernel
.PHONY: load_bootloader
load_bootloader: $(BOOTLOADER_FILES)