[OE-core] [PATCH 3/4] task-base: allow distribution to define apm provider
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Apr 18 08:34:55 UTC 2011
On Mon, 2011-04-18 at 10:00 +0200, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> meta/recipes-core/tasks/task-base.bb | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-core/tasks/task-base.bb b/meta/recipes-core/tasks/task-base.bb
> index 138e617..10f3af4 100644
> --- a/meta/recipes-core/tasks/task-base.bb
> +++ b/meta/recipes-core/tasks/task-base.bb
> @@ -179,8 +179,11 @@ RDEPENDS_task-base-acpi = "\
> acpid \
> libacpi "
>
> +# Distro can override apm provider
> +DISTRO_APM ?= "apm"
> +
> RDEPENDS_task-base-apm = "\
> - apm \
> + ${DISTRO_APM} \
> apmd"
Can you explain a little more about why a distro would do this please?
I'm a little worried this whole file could become a set of DISTRO_*
variables :/.
Cheers,
Richard
More information about the Openembedded-core
mailing list