From ce127b8d20c9e812f2486405b080ab73d163e8de Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 13 Jun 2013 01:20:02 +0200 Subject: mesa: use PACKAGESPLITFUNCS Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta') 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/*" -- cgit v1.2.3