diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-30 15:30:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-02 17:40:51 +0100 |
commit | 3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7 (patch) | |
tree | 6eeab521d953d3d308ef38269662f7984220663f | |
parent | 28d3202befcec72554885f8ea9cb7985523b89f5 (diff) | |
download | openembedded-core-3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7.tar.gz openembedded-core-3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7.tar.bz2 openembedded-core-3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7.zip |
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@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | 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 075f812f2b..d5e923b713 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" |