summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-06-13 01:20:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-14 12:40:52 +0100
commitce127b8d20c9e812f2486405b080ab73d163e8de (patch)
treea0fa29edb23cb2b15bd0a546b64b44748388a7c2 /meta
parent33d7c8a2e5087f84fb365e57e2555edb96f5fba5 (diff)
downloadopenembedded-core-ce127b8d20c9e812f2486405b080ab73d163e8de.tar.gz
openembedded-core-ce127b8d20c9e812f2486405b080ab73d163e8de.tar.bz2
openembedded-core-ce127b8d20c9e812f2486405b080ab73d163e8de.zip
mesa: use PACKAGESPLITFUNCS
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 2caa23866b..b4e9b84a64 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -105,7 +105,7 @@ python __anonymous() {
d.appendVar("RCONFLICTS_" + fullp, pkgs)
}
-python populate_packages_prepend() {
+python mesa_populate_packages() {
dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri")
pkgs = ['mesa', 'mesa-dev', 'mesa-dbg']
@@ -119,6 +119,8 @@ python populate_packages_prepend() {
do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='')
}
+PACKAGESPLITFUNCS_prepend = "mesa_populate_packages "
+
PACKAGES_DYNAMIC += "^mesa-driver-.*"
FILES_${PN}-dbg += "${libdir}/dri/.debug/*"