summaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 3bc254ca6..571f3a4a7 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -116,15 +116,10 @@ endif
kernel-strip:
@cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
-ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
- @echo adding DT trailer to kernel $(MAKE_TRACE)
- -rm $(BUILD_DIR)/$(TARGET_KERNEL)
- $(ADK_TOPDIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE)
-endif
-ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y)
+ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
@echo adding DT trailer to kernel $(MAKE_TRACE)
-rm $(BUILD_DIR)/$(TARGET_KERNEL)
- $(ADK_TOPDIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE)
+ PATH='$(HOST_PATH)' $(ADK_TOPDIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE)
endif
kernel-install: kernel-strip