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, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 0cc0a82..06c47e6 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -194,7 +194,7 @@ python mesa_populate_packages() {
194 dri_pkgs = os.listdir(dri_drivers_root) 194 dri_pkgs = os.listdir(dri_drivers_root)
195 lib_name = d.expand("${MLPREFIX}mesa-megadriver") 195 lib_name = d.expand("${MLPREFIX}mesa-megadriver")
196 for p in dri_pkgs: 196 for p in dri_pkgs:
197 m = re.match('^(.*)_dri\.so$', p) 197 m = re.match(r'^(.*)_dri\.so$', p)
198 if m: 198 if m:
199 pkg_name = " ${MLPREFIX}mesa-driver-%s" % legitimize_package_name(m.group(1)) 199 pkg_name = " ${MLPREFIX}mesa-driver-%s" % legitimize_package_name(m.group(1))
200 d.appendVar("RPROVIDES_%s" % lib_name, pkg_name) 200 d.appendVar("RPROVIDES_%s" % lib_name, pkg_name)
@@ -202,7 +202,7 @@ python mesa_populate_packages() {
202 d.appendVar("RREPLACES_%s" % lib_name, pkg_name) 202 d.appendVar("RREPLACES_%s" % lib_name, pkg_name)
203 203
204 pipe_drivers_root = os.path.join(d.getVar('libdir'), "gallium-pipe") 204 pipe_drivers_root = os.path.join(d.getVar('libdir'), "gallium-pipe")
205 do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='') 205 do_split_packages(d, pipe_drivers_root, r'^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='')
206} 206}
207 207
208PACKAGESPLITFUNCS_prepend = "mesa_populate_packages " 208PACKAGESPLITFUNCS_prepend = "mesa_populate_packages "