summaryrefslogtreecommitdiff
path: root/target/arm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm/Makefile')
-rw-r--r--target/arm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index faa4b6cd7..eabe2a786 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -116,7 +116,12 @@ endif
endif
kernel-strip:
+ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
+ @echo adding DT trailer to kernel $(MAKE_TRACE)
+ PATH='$(HOST_PATH)' perl $(ADK_TOPDIR)/scripts/mkknlimg $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
+else
@cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
+endif
kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)