summaryrefslogtreecommitdiff
path: root/target/arm/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-04 15:55:23 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-04 15:55:23 +0100
commit34dd0c833ec7f27c9112ebd46b16f8ea1a0c10d7 (patch)
tree41e25ea4373fdabd6e10e088849baf3ae8d6da24 /target/arm/Makefile
parentc1d99926ac64957c77cf8e25466b8ae6efb11d3c (diff)
fix kernel copy for arm
Diffstat (limited to 'target/arm/Makefile')
-rw-r--r--target/arm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 2bcd73bc8..9efddfac9 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -94,13 +94,13 @@ targethelp:
endif
kernel-strip:
+ @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
ifeq ($(ADK_KERNEL_BCM2708_DT),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
-else
- @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
endif
kernel-install: kernel-strip