[oe] [PATCH 2/2] task-base: Introduce DISTRO_apm and convert recipes to use it.

Sebastian Spaeth Sebastian at SSpaeth.de
Fri Dec 4 07:28:43 UTC 2009


This is my take on solving our problem that we want a different "apm"
provider. Koen outlined this solution, so this way I went.

All recipes that RDPEND on "apm" basically get a

DISTRO_apm ?= "apm"
RDEPEND    += ${DISTRO_apm}

This could also be done with a virtual/apm package, and a
PREFERED_PROVIDER set to apm for all distros. Which would even be
cleaner I think, with the downside that all other distros would need to
set a prefered provider too.
For things like this is would be nice to get a common sane-providers.inc
where these standard providers can be defined.

What do you think? Can I commit this?
spaetz





More information about the Openembedded-devel mailing list