[OE-core] [PATCH] gcc-cross: Explicitly depend on linux-libc-headers

Richard Purdie richard.purdie at linuxfoundation.org
Thu Nov 22 22:02:59 UTC 2012


On Thu, 2012-11-22 at 21:50 +0000, Phil Blundell wrote:
> On Thu, 2012-11-22 at 21:36 +0000, Richard Purdie wrote:
> > -DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
> > +DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc linux-libc-headers ${NATIVEDEPS}"
> 
> gcc-cross isn't particularly specific to linux targets and ideally we
> don't want to be adding more linuxisms to the recipe.  It is,
> admittedly, not entirely obvious how we could conveniently get that
> dependency added only for linux targets (since I don't think there's any
> existing OVERRIDE that's helpful here) but perhaps we should find a way
> to address that problem rather than just sticking it in unconditionally.

virtual/${TARGET_OS}-headers with a suitable provider entry?

I was assuming someone who cares about non-linux wouldn't find this
particularly hard to deal with...

Cheers,

Richard





More information about the Openembedded-core mailing list