[OE-core] [PATCH] Replace deprecated SERIAL_CONSOLE with SERIAL_CONSOLES.

Andre McCurdy armccurdy at gmail.com
Fri Feb 27 06:51:53 UTC 2015


On Tue, Feb 24, 2015 at 3:27 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
> Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
>
> ---
>
>   there are still a few remaining references to SERIAL_CONSOLE, but
> i'll leave it to someone else to decide when to remove that entirely.
> i'm assuming this is a fairly obvious textual replacement.
>
> diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
> index d07084b..3e05bfa 100644
> --- a/meta/conf/machine/qemuarm.conf
> +++ b/meta/conf/machine/qemuarm.conf
> @@ -8,5 +8,5 @@ require conf/machine/include/tune-arm926ejs.inc
>
>  KERNEL_IMAGETYPE = "zImage"
>
> -SERIAL_CONSOLE = "115200 ttyAMA0"
> +SERIAL_CONSOLES = "115200;ttyAMA0"
>

When SERIAL_CONSOLES is set by bitbake.conf the assignment is with
"??=", so this change will break things unexpectedly for anyone who
may rely on over-riding SERIAL_CONSOLES from a local.conf file, etc.

Perhaps better to make these new SERIAL_CONSOLES assignments with "?="
instead of "=" ?



More information about the Openembedded-core mailing list