On Tue, 2006-04-25 at 00:11 +0200, Michael 'Mickey' Lauer wrote:
> I agree. Do we have COMPATIBLE_HOST also for machines?
Don't think so. But it's pretty easy to construct the same effect from
raw materials -- see openslug-kernel for example:
python () {
# Don't build openslug kernel unless we're targeting an nslu2
mach = bb.data.getVar("MACHINE", d, 1)
dist = bb.data.getVar("DISTRO", d, 1)
if mach != 'nslu2' or dist != 'openslug':
raise bb.parse.SkipPackage("OpenSlug only builds for the
Linksys NSLU2")
}
> Then again, PROVIDES_c7x0 += "..." would be probably easiest.
Possibly, yeah; something like:
PROVIDES = ""
PROVIDES_c7x0 = "virtual/kernel hostap-modules"
PROVIDES_collie = "${PROVIDES_c7x0}"
ought probably to work fine.
p.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe