diff options
Diffstat (limited to 'target/arm/Makefile')
-rw-r--r-- | target/arm/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile index 3213212bc..4a87bc6ec 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -54,6 +54,11 @@ ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) @echo "sudo ./scripts/install-cubox.sh /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL) $(FW_DIR)" endif +ifeq ($(ADK_TARGET_SYSTEM_HUMMINGBOARD),y) + @echo "Use following command to install it on SD card:" + @echo "sudo ./scripts/install-cubox.sh /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL) $(FW_DIR)" + +endif endif ifeq ($(ADK_TARGET_FS),initramfs) targethelp: @@ -85,15 +90,22 @@ kernel-install: kernel-strip @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL) dtb-install: +ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \ -j${ADK_MAKE_JOBS} imx6q-cubox-i.dtb imx6dl-cubox-i.dtb $(MAKE_TRACE) $(CP) $(LINUX_DIR)/arch/arm/boot/dts/imx6*-cubox-i.dtb \ $(FW_DIR) - +endif +ifeq ($(ADK_TARGET_SYSTEM_HUMMINGBOARD),y) + env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \ + -j${ADK_MAKE_JOBS} imx6dl-hummingboard.dtb $(MAKE_TRACE) + $(CP) $(LINUX_DIR)/arch/arm/boot/dts/imx6*-hummingboard.dtb \ + $(FW_DIR) +endif # filesystem specific targets ifeq ($(ADK_TARGET_FS),archive) -ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) +ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I)$(ADK_TARGET_SYSTEM_HUMMINGBOARD),y) imageinstall: dtb-install $(FW_DIR)/$(ROOTFSTARBALL) targethelp else imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp |