Commit e7a331f7 authored by Nick Elsmore's avatar Nick Elsmore

build: add zImage and bindeb targets

parent 6954190d
......@@ -33,13 +33,14 @@ all: bootloader rootfs
$(OUT_DIR):
@install -d $(OUT_DIR)
.PHONY: linux bootloader rootfs clean
linux: $(OUT_DIR)
$(MAKE) -C $(KERNEL_DIR) $(KERNEL_DEFCONFIG) O=$(KERNEL_BUILD_DIR)
$(MAKE) -C $(KERNEL_DIR) bindeb-pkg O=$(KERNEL_BUILD_DIR)
@install -d $(OUT_DIR)/dtb
@cp $(KERNEL_BUILD_DIR)/arch/arm/boot/zImage $(OUT_DIR)
@cp $(KERNEL_BUILD_DIR)/arch/arm/boot/dts/*.dtb $(OUT_DIR)/dtb
.PHONY: linux zImage bindeb bootloader rootfs clean
zImage: $(OUT_DIR)
$(MAKE) -C $(KERNEL_DIR) $(KERNEL_DEFCONFIG) zImage dtbs O=$(KERNEL_BUILD_DIR)
bindeb: $(OUT_DIR)
$(MAKE) -C $(KERNEL_DIR) $(KERNEL_DEFCONFIG) bindeb-pkg O=$(KERNEL_BUILD_DIR)
linux: bindeb
bootloader: $(OUT_DIR)
$(MAKE) -C $(UBOOT_DIR) $(UBOOT_DEFCONFIG) O=$(UBOOT_BUILD_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment