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.

(From OE-Core rev: 3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2013-04-30 15:30:10 +01:00 committed by Richard Purdie
parent b4aa6d3886
commit c09809f060
1 changed files with 3 additions and 0 deletions

View File

@ -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"