summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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