summaryrefslogtreecommitdiff
path: root/target/xtensa
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-14 10:22:31 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-14 10:22:31 +0200
commit1f181c2944bd4657ffe3bdc9e19f86d209af81ab (patch)
tree21b4285939339dc01648be4f26fb9dbb005626ab /target/xtensa
parent71cdc5d0d0cd73f0b58d3402d097464c06caaa7d (diff)
xtensa: fixup build for other rootfs
Diffstat (limited to 'target/xtensa')
-rw-r--r--target/xtensa/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/xtensa/Makefile b/target/xtensa/Makefile
index 7cf419ade..d391ef49e 100644
--- a/target/xtensa/Makefile
+++ b/target/xtensa/Makefile
@@ -64,9 +64,10 @@ targethelp:
endif
kernel-strip:
+ @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
-kernel-install:
- @cp $(KERNEL) $(FW_DIR)/${TARGET_KERNEL}
+kernel-install: kernel-strip
+ @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
# filesystem specific targets
ifeq ($(ADK_TARGET_FS),archive)