Browse Source

xtensa: fixup build for other rootfs

Waldemar Brodkorb 7 years ago
parent
commit
1f181c2944
1 changed files with 3 additions and 2 deletions
  1. 3 2
      target/xtensa/Makefile

+ 3 - 2
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)