[oe] RFC: feature request - wrap sources

Richard Purdie rpurdie at rpsys.net
Fri Dec 21 13:57:42 UTC 2007


On Fri, 2007-12-21 at 13:16 +0200, Paul Sokolovsky wrote:
> Friday, December 21, 2007, 12:24:48 PM, you wrote:
> > Richard Purdie schrieb:
> >> On Fri, 2007-12-21 at 09:34 +0100, Robert Schuster wrote:
> >> Would it not be simpler just to specify an attribute like unpacksubdir
> >> which you could set to ${PN}-${PV}?
> > Specifying the directory to be created would be nice. However one of my
> > idea was that by using such a mechanism S would be correct.
> 
> > Would it be possible to automatically set S to ${WORKDIR}/<anything> if
> > unpacksubdir=<anything> is used? If so we could have genericity and
> > saving boilerplate code. :)
> 
>   Why, instead, S has default value of "${WORKDIR}/${P}", so just fit
> unpacksubdir up to that. And that unpacksubdir is yet stuff to implement
> AFAIU.

This was my intent although I perhaps didn't make it very clear. If you
specify "unpacksubdir=${P}" (P = ${PN}-${PV}) the default for WORKDIR
would just work and wouldn't need to be changed.

Cheers,

Richard





More information about the Openembedded-devel mailing list