summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-15 19:26:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-15 19:26:42 +0100
commite7540c9fa814f9b41f80e72bc160ce504e26cda6 (patch)
tree8c1e66138dd42c19d45cdff55a36d343e4c3a098 /target/Makefile
parent0975f98bebcefd325c641b202d715522f5710700 (diff)
startup fixes
- always use /sbin/init, even for initramfs - mount devtmpfs for initramfs automatically in kernel space - fix armhf for adk-test-framework - remove mdev -s on boot, I think it is unneeded, takes very long on Qemu systems - add alias for ro/rw remounts of / - remove old /init and rc.shutdown, both unused
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/Makefile b/target/Makefile
index 1e091d3dc..313a616a1 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -53,7 +53,7 @@ config-prepare: $(TOPDIR)/.config
while IFS='=' read symbol value; do \
sed -i -e "/^# $$symbol/d" ${BUILD_DIR}/.kernelconfig.board; \
done;)
- @sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 init=/sbin/init"#' \
+ @sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ro"#' \
${BUILD_DIR}/.kernelconfig.board
@sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ${FS_CMDLINE}"#' \
${BUILD_DIR}/.kernelconfig.board
@@ -61,6 +61,10 @@ ifneq ($(ADK_TARGET_CMDLINE),)
@sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ${ADK_TARGET_CMDLINE}"#' \
${BUILD_DIR}/.kernelconfig.board
endif
+ifeq ($(ADK_TARGET_QEMU_WITH_GRAPHIC),y)
+ @sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 console=tty0"#' \
+ ${BUILD_DIR}/.kernelconfig.board
+endif
ifneq ($(ADK_PACKAGE_CRYPTINIT_ROOT),)
@sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 ${ADK_PACKAGE_CMDLINE}"#' \
${BUILD_DIR}/.kernelconfig.board