summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-10 20:24:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-10 20:24:15 +0200
commitae7e5021b8e48f8714768834a9b6f5af32d6e2fc (patch)
tree445057672172b868c62320133e952a779f197b4f /target/Makefile
parente1d61726d41161ca7fefac0cbe88b7519c3ca5eb (diff)
minor fixes for nfsroot bootup
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),)