[OE-core] [PATCH V2 1/3] bitbake.conf: Set default value for SERIAL_CONSOLE

Chong Lu Chong.Lu at windriver.com
Tue Dec 9 08:25:47 UTC 2014


Define a default value for SERIAL_CONSOLE, we can use it if machine doesn't
configure.

[YOCTO #6331]

Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 7902bd7..7a659a7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -739,7 +739,7 @@ COMBINED_FEATURES = "\
     ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
 COMBINED_FEATURES[vardeps] += "DISTRO_FEATURES MACHINE_FEATURES"
 
-SERIAL_CONSOLE ??= ""
+SERIAL_CONSOLE ??= "115200 ttyS0"
 SERIAL_CONSOLES ??= "${@d.getVar('SERIAL_CONSOLE', True).replace(' ', ';')}"
 
 NO_RECOMMENDATIONS ?= ""
-- 
1.9.1




More information about the Openembedded-core mailing list