summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-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/*"