[oe-commits] Paul Eggleton : bitbake.conf: set SERIAL_CONSOLES from SERIAL_CONSOLE by default
git at git.openembedded.org
git at git.openembedded.org
Thu May 2 16:38:10 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Tue Apr 30 15:30:10 2013 +0100
bitbake.conf: set SERIAL_CONSOLES from SERIAL_CONSOLE by default
This is the first step in deprecating SERIAL_CONSOLE without affecting
machine configurations that still use it.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/conf/bitbake.conf | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 075f812..d5e923b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -745,6 +745,9 @@ COMBINED_FEATURES = "\
${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
COMBINED_FEATURES[vardeps] += "DISTRO_FEATURES MACHINE_FEATURES"
+SERIAL_CONSOLE ??= ""
+SERIAL_CONSOLES ??= "${@d.getVar('SERIAL_CONSOLE', True).replace(' ', ';')}"
+
# Make sure MACHINE isn't exported
# (breaks binutils at least)
MACHINE[unexport] = "1"
More information about the Openembedded-commits
mailing list