From ae7e5021b8e48f8714768834a9b6f5af32d6e2fc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 10 May 2014 20:24:15 +0200 Subject: minor fixes for nfsroot bootup --- target/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/Makefile') 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),) -- cgit v1.2.3