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

Khem Raj raj.khem at gmail.com
Tue Dec 9 17:46:45 UTC 2014


> On Dec 9, 2014, at 12:25 AM, Chong Lu <Chong.Lu at windriver.com> wrote:
> 
> 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”

I would rather prefer a warning or note.

> SERIAL_CONSOLES ??= "${@d.getVar('SERIAL_CONSOLE', True).replace(' ', ';')}"
> 
> NO_RECOMMENDATIONS ?= ""
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list