Skip to content

RFC Machine/tune files overhaul

Richard Purdie openembedded-core 1 version In review

Get series with b4
b4 am 1310399854.20015.978.camel@rex

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bitbake/utils: Add contains helper functionbitbake/lib/bb/utils.py+16 -00 replies
2/3conf/machine: Overhaul tune include filesmeta-yocto/conf/machine/beagleboard.conf meta/conf/bitbake.conf meta/conf/machine/include/tune-arm1136jf-s.inc +9 more+48 -337 replies
3/3bitbake.conf/classes: Variable cleanupmeta/classes/allarch.bbclass meta/classes/cross-canadian.bbclass meta/classes/cross.bbclass +8 more+21 -450 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] Machine/tune files overhaul

We talked a bit about what might be needed to overhaul the machine/tune config files to improve their usability, feature control and various other things.

I've been experimenting locally with the following patchset. Its sent based against poky since it requires a bitbake change and I also tested beagleboard specifically and this was the easiest way to do it. Obviously these can be split out easily enough.

The reason a bitbake change was needed was so that the "contains" functionality could be used in core variables before base.bbclass is loaded.

The patches themselves have further details about what they change and why. The transition for this could be a little tricky but is dectable when it hasn't happened by looking if TUNE_PKGARCH is set. Its easy to add a check for that and error.

I've not completed the machine/tune files conversion preferring to discuss the patches at this point before going any further.

Cheers,

Richard