On Fri, 2022-04-15 at 12:02 +0200, Michael Opdenacker via lists.openembedded.org
wrote:
> On 4/15/22 02:08, Peter Kjellerstedt wrote:
> > > -----Original Message-----
> > > From: [email protected] <openembedded-
> > > [email protected]> On Behalf Of Markus Niebel
> > > Sent: den 11 april 2022 17:07
> > > To: [email protected]
> > > Subject: [OE-core] bitbake.conf: reason for assignment of deprecated
> > > variable
> > > 
> > > Hello,
> > > 
> > > with the deprecation of SERIAL_CONSOLE the following was introduced in
> > > bitbake.conf:
> > > 
> > > 3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7 (bitbake.conf: set
> > > SERIAL_CONSOLES from SERIAL_CONSOLE by default)
> > > 
> > > Since this is done after inclusion of local.conf and <machine>.conf any
> > > weak default done for a System-on-Module / CPU will be overwritten. Is 
> > > this just by forgetting to remove these lines after the deprecation or 
> > > is there still a reason to keep this as is?
> > > 
> > > Thank you
> > > 
> > > Markus Niebel
> > Given that it is almost ten years since SERIAL_CONSOLE was deprecated, 
> > it might be time to actually remove it soon...
> 
> 
> I agree, and this would allow to simplify documentation too.
> Markus, would you like to submit a patch to openembedded-core?
> Good catch by the way!

This hasn't happened in the past as we've had no good way to notify users of the
change and it would likely break existing BSPs. We do at least have some
mechanism for deprecating and warning about removed variables now which should
help.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164427): 
https://lists.openembedded.org/g/openembedded-core/message/164427
Mute This Topic: https://lists.openembedded.org/mt/90397045/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to