summaryrefslogtreecommitdiff
path: root/target/cris
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-07-10 14:43:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-07-10 14:43:47 +0200
commitd2131023e2096cf5e0cc25d6efe0b38ad9a92781 (patch)
tree7b7eee44cafd158864fda10b12ea3b2ef4b5331c /target/cris
parent18978cf02119a9d82f7aa25c24746ecbe7a89f19 (diff)
cris: allow archive files add help
Diffstat (limited to 'target/cris')
-rw-r--r--target/cris/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/target/cris/Makefile b/target/cris/Makefile
index 9512d530b..12b1789d8 100644
--- a/target/cris/Makefile
+++ b/target/cris/Makefile
@@ -9,6 +9,12 @@ KERNEL:=$(LINUX_DIR)/vmlinux
ZKERNEL:=$(LINUX_DIR)/arch/cris/boot/Image
QEMU_ARGS:=-M axis-dev88 -nographic -monitor none
+# target helper text
+ifeq ($(ADK_TARGET_FS),archive)
+targethelp:
+ @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)"
+endif
+
ifeq ($(ADK_TARGET_FS),initramfs)
targethelp:
@echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
@@ -33,8 +39,11 @@ ifeq ($(ADK_TARGET_QEMU),y)
endif
endif
-kernel-install:
- @cp $(KERNEL) $(FW_DIR)/${TARGET_KERNEL}
+kernel-strip:
+ @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
+
+kernel-install: kernel-strip
+ @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
# filesystem specific targets
ifeq ($(ADK_TARGET_FS),archive)