summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-08 14:39:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-26 05:48:14 +0200
commitf42a614fd9c5e2e64052cf91ec268df4394a926b (patch)
tree1657dff925144be0921497c3d48b04c1d88d4d84
parent34a242b50254f3a4eb2ff8e793cd6f66d22bdff5 (diff)
ppc64: nfsroot config stuff
-rw-r--r--target/ppc64/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/ppc64/Makefile b/target/ppc64/Makefile
index 22af2f30d..29862cafd 100644
--- a/target/ppc64/Makefile
+++ b/target/ppc64/Makefile
@@ -45,6 +45,11 @@ ifeq ($(ADK_TARGET_QEMU),y)
@echo 'qemu-system-${ADK_TARGET_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
endif
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+targethelp:
+ @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
+ @echo 'The nfs root tarball is: ${FW_DIR}/${ROOTFSUSERTARBALL}'
+endif
# image creation and kernel install
kernel-strip:
@@ -54,6 +59,9 @@ kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/${TARGET_KERNEL}
# filesystem specific targets
+ifeq ($(ADK_TARGET_FS),nfsroot)
+imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
+endif
ifeq ($(ADK_TARGET_FS),archive)
imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp
endif