[OE-core] Style issue for recipes
Burton, Ross
ross.burton at intel.com
Thu Sep 4 16:34:26 UTC 2014
On 4 September 2014 15:12, Burton, Ross <ross.burton at intel.com> wrote:
> Quick question of style for the community to bikeshed on: in the
> general case should recipes be split into foo_1.2.bb and foo.inc, or
> should they only split to bb/inc if there are multiple versions and
> generally there should just be foo_1.2.bb.
Another argument against widespread inc files: they encourage the
impression that maintaining multiple versions is just a matter of
having a .inc file. The moment you start having to put
version-specific statements into a .bb you've entered a world of pain
in keeping the .bb files in sync, moving options into the .inc as they
become used by all versions, and purging old version-specific
statements.
Ross
More information about the Openembedded-core
mailing list