summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-29 20:20:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-01-05 18:57:56 +0100
commit0302664a0116a1b4eff8ab932abffde85953abac (patch)
tree5b8ce162b20d5525d965b25d5f666d00b350c36a /target/Makefile
parent4afde208fc773ccffff873e95ab6df6a741c5c39 (diff)
use rw for nfsroot
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 180f5f05e..2ca5db6ad 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -64,6 +64,9 @@ endif
ifeq ($(ADK_TARGET_ROOTFS_NFSROOT),)
@$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ro"#' \
$(BUILD_DIR)/.kernelconfig.board
+else
+ @$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 rw"#' \
+ $(BUILD_DIR)/.kernelconfig.board
endif
@$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 $(FS_CMDLINE)"#' \
$(BUILD_DIR)/.kernelconfig.board