summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 313a616a1..83e4e5ca6 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -53,8 +53,10 @@ config-prepare: $(TOPDIR)/.config
while IFS='=' read symbol value; do \
sed -i -e "/^# $$symbol/d" ${BUILD_DIR}/.kernelconfig.board; \
done;)
+ifeq ($(ADK_TARGET_ROOTFS_NFSROOT),)
@sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ro"#' \
${BUILD_DIR}/.kernelconfig.board
+endif
@sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ${FS_CMDLINE}"#' \
${BUILD_DIR}/.kernelconfig.board
ifneq ($(ADK_TARGET_CMDLINE),)