summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 894d7b72a..ef0c4851a 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -36,6 +36,10 @@ config-prepare: $(ADK_TOPDIR)/.config
echo "no miniconfig found for target system"; \
exit 1; \
fi
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_M68K),y)
+ @PATH=$(HOST_PATH) sed -i -e 's#^\(CONFIG_.*BOOTPARAM_STRING="\)\(.*\)"#\1\2 ro ${FS_CMDLINE}"#' \
+ ${BUILD_DIR}/.kernelconfig.board
+endif
ifeq ($(ADK_TARGET_ROOTFS_NFSROOT),)
@PATH=$(HOST_PATH) sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ro"#' \
${BUILD_DIR}/.kernelconfig.board