diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 20:24:15 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-10 20:24:15 +0200 |
commit | ae7e5021b8e48f8714768834a9b6f5af32d6e2fc (patch) | |
tree | 445057672172b868c62320133e952a779f197b4f /target/Makefile | |
parent | e1d61726d41161ca7fefac0cbe88b7519c3ca5eb (diff) |
minor fixes for nfsroot bootup
Diffstat (limited to 'target/Makefile')
-rw-r--r-- | target/Makefile | 2 |
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),) |