diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2013-06-13 01:20:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-14 12:44:36 +0100 |
commit | f7db60ed00469075fdbb2b827f092bb50cae091d (patch) | |
tree | 377ce16bbb0d47d2ee61e0c92b56c7a3b38b0eed /meta/recipes-graphics/mesa | |
parent | f98b968ffbe322a4946b14c088b91b69b4f58989 (diff) | |
download | poky-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/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 4 |
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 | ||
108 | python populate_packages_prepend() { | 108 | python 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 | ||
122 | PACKAGESPLITFUNCS_prepend = "mesa_populate_packages " | ||
123 | |||
122 | PACKAGES_DYNAMIC += "^mesa-driver-.*" | 124 | PACKAGES_DYNAMIC += "^mesa-driver-.*" |
123 | 125 | ||
124 | FILES_${PN}-dbg += "${libdir}/dri/.debug/*" | 126 | FILES_${PN}-dbg += "${libdir}/dri/.debug/*" |