summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-04-01 17:25:51 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-06-15 23:37:27 +0200
commitc8c2c2fbd1afa03322d42b01fa1a183bdc567bf3 (patch)
treefdefbcbe4bfcf1b0ebcfeefeae8502dea365ff7d
parentc0c6ccec7881c92e0a96fa9114af553c4434d83b (diff)
tile: add nfsroot rules
-rw-r--r--target/tile/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/tile/Makefile b/target/tile/Makefile
index 0589cec43..ff069bba1 100644
--- a/target/tile/Makefile
+++ b/target/tile/Makefile
@@ -23,6 +23,11 @@ ifeq ($(ADK_TARGET_FS),initramfspiggyback)
targethelp:
@echo 'The kernel+initramfs file is: $(FW_DIR)/${TARGET_KERNEL}'
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+targethelp:
+ @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
+ @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSUSERTARBALL)"
+endif
kernel-strip:
$(TARGET_CROSS)objcopy $(OSTRIP) -S $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
@@ -40,4 +45,7 @@ endif
ifeq ($(ADK_TARGET_FS),initramfspiggyback)
imageinstall: createinitramfs targethelp
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
+endif