summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-08 14:57:27 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-02-08 14:57:27 +0100
commit06192043a983061e81b44536b00c89f377a1b129 (patch)
tree906032a6f214526d73b4c0edfb6d829789560bbd /target/Makefile
parent41b1b121a3c856ecd1b5f2e7dcdab10a31981831 (diff)
parentc481446c0210205deca32bef6e199b5dd84f7b11 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index d015d6757..e6bbe9ef4 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -36,6 +36,14 @@ config-prepare: $(ADK_TOPDIR)/.config
echo "no miniconfig found for target system"; \
exit 1; \
fi
+ifneq ($(ADK_RUNTIME_CONSOLE_SERIAL_DEVICE),)
+ $(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 console=$(ADK_RUNTIME_CONSOLE_SERIAL_DEVICE),$(ADK_RUNTIME_CONSOLE_SERIAL_SPEED)"#' \
+ $(BUILD_DIR)/.kernelconfig.board
+endif
+ifneq ($(ADK_RUNTIME_CONSOLE_VGA_DEVICE),)
+ $(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 console=$(ADK_RUNTIME_CONSOLE_VGA_DEVICE)"#' \
+ $(BUILD_DIR)/.kernelconfig.board
+endif
ifeq ($(ADK_TARGET_SYSTEM_QEMU_M68K),y)
@$(SED) 's#^\(CONFIG_.*BOOTPARAM_STRING="\)\(.*\)"#\1\2 ro $(FS_CMDLINE)"#' \
$(BUILD_DIR)/.kernelconfig.board