summaryrefslogtreecommitdiff
path: root/target/arm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm/Makefile')
-rw-r--r--target/arm/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 560ee1e98..2bcd73bc8 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -94,7 +94,14 @@ targethelp:
endif
kernel-strip:
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
+ifeq ($(ADK_KERNEL_BCM2708_DT),y)
+ @echo adding DT trailer to kernel $(MAKE_TRACE)
+ $(ADK_TOPDIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE)
+endif
+else
@cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
+endif
kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)