summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/arm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index cb6b49d79..d5bbd48dd 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -74,9 +74,10 @@ endif
endif
kernel-strip:
+ @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
-kernel-install:
- @cp $(KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
+kernel-install: kernel-strip
+ @cp $(BUILD_DIR) $(FW_DIR)/$(TARGET_KERNEL)
dtb-install:
env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \