[oe] [PATCH 8/8] xz: add xz package

Phil Blundell philb at gnu.org
Sat Feb 13 18:46:59 UTC 2010


On Sat, 2010-02-13 at 15:37 +0100, Bernhard Reutner-Fischer wrote:
> But that would clash with _git, wouldn't it, unless, and only if this
> exact sequence would be used:
> .inc:=S ?= ${WORKDIR}/xz-${PV}
> .inc:=SRC_URI=http
> 0815.bb:PV=0814+0815foo
> 0815.bb:require .inc
> 0815.bb:SRC_URI+=patch1
> git.bb:S=${WORKDIR}/git
> git.bb:require .inc
> git.bb:SRC_URI=git

It would be more traditional to set S with a hard assignment in the .inc
file, and simply override it (the same as SRC_URI) in the _git.bb file.
But, essentially, yes, what you are describing there is basically what
you'd have to do.  There is plenty of precedent in OE for the general
approach of using an .inc file to set generic defaults and then allowing
particular .bb files to override the parts they don't want.

I'll have a look at your git checkout issue later today.

p.






More information about the Openembedded-devel mailing list