aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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)