[OE-core] [PATCH] siteinfo: Add mechanism to extend siteinfo information from BSP layer

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jul 22 15:55:30 UTC 2016


On Fri, 2016-07-22 at 08:47 -0700, Khem Raj wrote:
> Whats the motivation here. This looks like a backdoor for bsps. To
> user it will make inconsistent behaviour. Even now its quite hard to
> root cause errors due to siteinfo

Right now if you have some new target, your only option is to either
patch OE-Core, or copy the class into your new BSP. This is
particularly problematic if you're working on hardware that isn't
supported by core OE or that is in active development.

Having hooks to allow you to write a new BSP without having to make
changes to the core would seem to be a good thing.

I'm not expecting users to regularly use this, just those writing more
exotic BSPs or doing baremetal work for example.

I can sympathise with the problem as I've run into it several times now
myself. We can't really demand that every time this happens, people
send a patch for OE-Core (although if something is commonly used we'd
obviously then encourage it).

Cheers,

Richard




More information about the Openembedded-core mailing list