summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-16 09:19:48 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-16 09:19:48 +0100
commit1cde61b28dc258da57453ae7620b3e2882fe6f7c (patch)
treef94389fbe189771380332b105fb28fd2a809a774 /target/Makefile
parentd743beaf03d768faad56be9bdf8d12c35c4f3fd7 (diff)
allow to disable kernel commandline
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 4a497b80b..3291862ba 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -36,6 +36,7 @@ config-prepare: $(ADK_TOPDIR)/.config
echo "no miniconfig found for target system"; \
exit 1; \
fi
+ifneq ($(ADK_TARGET_NO_CMDLINE),y)
ifeq ($(ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY),y)
$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 console=$(ADK_RUNTIME_CONSOLE_VGA_DEVICE) consoleblank=0"#' \
$(BUILD_DIR)/.kernelconfig.board
@@ -90,6 +91,7 @@ ifeq ($(ADK_KERNEL_NETCONSOLE),y)
@$(SED) 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 netconsole=@$(ADK_PARAMETER_NETCONSOLE_SRC_IP)/,@$(ADK_PARAMETER_NETCONSOLE_DST_IP)/"#' \
$(BUILD_DIR)/.kernelconfig.board
endif
+endif
@cd $(BUILD_DIR) && cat .kernelconfig.board .kernelconfig.kernel \
>.kernelconfig.tmp
@cd $(BUILD_DIR) && cmp -s .kernelconfig.tmp .kernelconfig || \