From 3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 30 Apr 2013 15:30:10 +0100 Subject: 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 Signed-off-by: Saul Wold --- meta/conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/conf') 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" -- cgit 1.2.3-korg