summaryrefslogtreecommitdiffstats
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:44:36 +0100
commitf7db60ed00469075fdbb2b827f092bb50cae091d (patch)
tree377ce16bbb0d47d2ee61e0c92b56c7a3b38b0eed /meta
parentf98b968ffbe322a4946b14c088b91b69b4f58989 (diff)
downloadpoky-f7db60ed00469075fdbb2b827f092bb50cae091d.tar.gz
mesa: use PACKAGESPLITFUNCS
(From OE-Core rev: ce127b8d20c9e812f2486405b080ab73d163e8de) 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() {
105 d.appendVar("RCONFLICTS_" + fullp, pkgs) 105 d.appendVar("RCONFLICTS_" + fullp, pkgs)
106} 106}
107 107
108python populate_packages_prepend() { 108python mesa_populate_packages() {
109 dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") 109 dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri")
110 110
111 pkgs = ['mesa', 'mesa-dev', 'mesa-dbg'] 111 pkgs = ['mesa', 'mesa-dev', 'mesa-dbg']
@@ -119,6 +119,8 @@ python populate_packages_prepend() {
119 do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='') 119 do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='')
120} 120}
121 121
122PACKAGESPLITFUNCS_prepend = "mesa_populate_packages "
123
122PACKAGES_DYNAMIC += "^mesa-driver-.*" 124PACKAGES_DYNAMIC += "^mesa-driver-.*"
123 125
124FILES_${PN}-dbg += "${libdir}/dri/.debug/*" 126FILES_${PN}-dbg += "${libdir}/dri/.debug/*"