From: Paul Eggleton Date: Tue, 30 Apr 2013 14:30:10 +0000 (+0100) Subject: bitbake.conf: set SERIAL_CONSOLES from SERIAL_CONSOLE by default X-Git-Tag: rev_ivi_2015_02_04~12726 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fd7b53fb2a81603376dc7c2a66ef0cfa41c5c9e;p=scm%2Fbb%2Ftizen-distro.git 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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"