[OE-core] [RFC v1 0/1] Reorder ${PN} and ${PN}-dev

Richard Purdie richard.purdie at linuxfoundation.org
Mon May 21 16:05:50 UTC 2012


On Mon, 2012-05-21 at 08:54 -0700, Chris Larson wrote:
> On Mon, May 21, 2012 at 8:47 AM, Mark Hatle <mark.hatle at windriver.com> wrote:
> > On 5/21/12 1:42 AM, Saul Wold wrote:
> >>
> >> This RFC is the first pass at reordering the above 2 items in
> >> the PACKAGES list. This is in part an out cropping of the bug
> >> #2367 (https://bugzilla.yoctoproject.org/show_bug.cgi?id=2367),
> >> which show the miss packaged pcap-config file.
> >
> >
> > I've often wondered why the order is the way it is.  If I were to do this
> > from scratch, I'd move the ${PN} item to last in the default order.  Have
> > you considered this more radical approach, that would then allow all of the
> > default splits to occur before the ${PN} processing.  (It might also allow
> > the ${PN} to simply be a "/*" instead of more complex rules.)
> 
> This would be quite nice, if we could pull it off without breaking
> anything horribly.

-dev is likely the nastiest to move, the other two defaults aafter PN
are -locale and -doc, neither of which should present as much of a
challenge so we can probably move those. Its not likely to gain much
either though as we don't split the files in those directories like we
do with -dev files.

I'm not sure a '*' matching for PN is the most desirable default though,
in some ways I like the fact we have to specifically think about the
exceptions to the default rules...

Cheers,

Richard





More information about the Openembedded-core mailing list