Skip to contentSkip to conversation

Change in behaviour

DISCUSSION Gary Thomas 2 participants 3 messages Nov 20, 2015

lore
Share & tools
lore
#0 lore raw

This commit:
commit 536b73f55f51fcea555338f9a557fe86c09d00cb
Author: Richard Purdie <[email protected]>
Date: Sun Oct 11 10:21:20 2015 +0100
bitbake: data_smart: Only support lowercase OVERRIDES
breaks the use of capital letters, specifically in MACHINE names. I use this a lot, along with COMPATIBLE_MACHINE, to share recipes amongst similar machines.

The commit says it could be conditional. How hard (and how) would it be to do that?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 9 lines · Gary Thomas

This commit:
commit 536b73f55f51fcea555338f9a557fe86c09d00cb
Author: Richard Purdie <[email protected]>
Date: Sun Oct 11 10:21:20 2015 +0100
bitbake: data_smart: Only support lowercase OVERRIDES
breaks the use of capital letters, specifically in MACHINE names. I use this a lot, along with COMPATIBLE_MACHINE, to share recipes amongst similar machines.

Quoted 3 lines

The commit says it could be conditional. How hard (and how) would it be to do that?

A little background:

http://openembedded.org/wiki/OEDEM_2015#Metadata

Philip

#2 lore raw
Quoted 10 lines · Philip Balister
Quoted 9 lines · Gary Thomas

This commit:
commit 536b73f55f51fcea555338f9a557fe86c09d00cb
Author: Richard Purdie <[email protected]>
Date: Sun Oct 11 10:21:20 2015 +0100
bitbake: data_smart: Only support lowercase OVERRIDES
breaks the use of capital letters, specifically in MACHINE names. I use this a lot, along with COMPATIBLE_MACHINE, to share recipes amongst similar machines.

Quoted 7 lines
Quoted 3 lines

The commit says it could be conditional. How hard (and how) would it be to do that?

A little background:

http://openembedded.org/wiki/OEDEM_2015#Metadata

Fair enough + I missed the RFC for the patch that eventually went in.

That said, maybe a warning could be issued if overrides (at least MACHINEOVERRIDES) are being defined with any upper-case letters rather than the [very silent and hard to find] new behaviour causing issues?

I'll set off to rework all of my recipes that use upper case letters in any way - a lot of work I'm sad to say...

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------