[oe] [RFC] package complete ${datadir} ${libdir} by default
Phil Blundell
philb at gnu.org
Fri Oct 23 08:41:32 UTC 2009
On Thu, 2009-10-22 at 21:08 +0200, Leon Woestenberg wrote:
> Hello,
>
> Why does FILES_${PN} have ${PN} after ${datadir} and ${libdir}?
>
> I would propose to just package ${datadir} and ${libdir} as-is.
> Or am I overlooking something?
This would require a bit of juggling of the order that the subpackages
appear in PACKAGES, so that the right files continue to land in the
-dev/-locale/-doc subpackages, but apart from that it sounds like a
fairly sound plan to me.
As a less intrusive (though also less elegant) alternative, you could
introduce a new variable ${BINPN} or something, which defaults to the
same as ${PN} but is overrideable as necessary, and then define FILES_
${PN} in terms of that one. That would deal with the case where you
have multiple variations on the same package, all with slightly
different ${PN}s.
p.
More information about the Openembedded-devel
mailing list