summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-04-25 00:25:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-24 23:40:47 +0100
commit2d19f07fa5b1021c4210b28a2d6225e50c721580 (patch)
tree3572ccbfdd38c6b9e0435f5b7c06fae76bba17e4
parent14990f3fced68b6051a083471cdbf54994836019 (diff)
downloadopenembedded-core-2d19f07fa5b1021c4210b28a2d6225e50c721580.tar.gz
openembedded-core-2d19f07fa5b1021c4210b28a2d6225e50c721580.tar.bz2
openembedded-core-2d19f07fa5b1021c4210b28a2d6225e50c721580.tar.xz
openembedded-core-2d19f07fa5b1021c4210b28a2d6225e50c721580.zip
task-base: allow distribution to define apm provider
* use VIRTUAL-RUNTIME_apm instead of apm directly Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/tasks/task-base.bb5
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 599fa4bd1..a2a892522 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
+VIRTUAL-RUNTIME_apm ?= "apm"
+
RDEPENDS_task-base-apm = "\
- apm \
+ ${VIRTUAL-RUNTIME_apm} \
apmd"
RDEPENDS_task-base-ext2 = "\