diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-10-12 12:46:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-19 18:02:26 +0100 |
commit | 33b31640bf485bcfefee015e9df81aa9989b322c (patch) | |
tree | 8289b56e8d7055252d26d5eb496f74217986acec /meta/recipes-graphics | |
parent | e9938516240e7ef3b5aeb47690828dd574ba2d8e (diff) | |
download | poky-33b31640bf485bcfefee015e9df81aa9989b322c.tar.gz |
PACKAGES_DYNAMIC: use regexp not glob
* bitbake uses PACKAGES_DYNAMIC as regexp
^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
* made all those last '-' optional, use .* (or nothing)
(From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/directfb/directfb.inc | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri.inc | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango.inc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc index 6655217f9c..41921dc9aa 100644 --- a/meta/recipes-graphics/directfb/directfb.inc +++ b/meta/recipes-graphics/directfb/directfb.inc | |||
@@ -32,7 +32,7 @@ EXTRA_OECONF = "\ | |||
32 | --disable-x11 \ | 32 | --disable-x11 \ |
33 | " | 33 | " |
34 | 34 | ||
35 | #PACKAGES_DYNAMIC = "directfb-inputdrivers-*" | 35 | #PACKAGES_DYNAMIC = "^directfb-inputdrivers-.*" |
36 | # | 36 | # |
37 | #python populate_packages_prepend () { | 37 | #python populate_packages_prepend () { |
38 | # inputdrivers_libdir = d.expand('${libdir}/directfb-${RV}/inputdrivers') | 38 | # inputdrivers_libdir = d.expand('${libdir}/directfb-${RV}/inputdrivers') |
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc index 2d5aa44c47..bae06dd010 100644 --- a/meta/recipes-graphics/mesa/mesa-dri.inc +++ b/meta/recipes-graphics/mesa/mesa-dri.inc | |||
@@ -21,7 +21,7 @@ python populate_packages_prepend() { | |||
21 | do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') | 21 | do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') |
22 | } | 22 | } |
23 | 23 | ||
24 | PACKAGES_DYNAMIC = "mesa-dri-driver-*" | 24 | PACKAGES_DYNAMIC = "^mesa-dri-driver-.*" |
25 | 25 | ||
26 | FILES_${PN}-dbg += "${libdir}/dri/.debug/*" | 26 | FILES_${PN}-dbg += "${libdir}/dri/.debug/*" |
27 | 27 | ||
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc index c9e92f00b7..318403d326 100644 --- a/meta/recipes-graphics/pango/pango.inc +++ b/meta/recipes-graphics/pango/pango.inc | |||
@@ -18,7 +18,7 @@ PACKAGECONFIG[x11] = "--with-x,--without-x,${X11DEPENDS}" | |||
18 | BBCLASSEXTEND = "native" | 18 | BBCLASSEXTEND = "native" |
19 | DEPENDS_virtclass-native = "glib-2.0-native cairo-native" | 19 | DEPENDS_virtclass-native = "glib-2.0-native cairo-native" |
20 | 20 | ||
21 | PACKAGES_DYNAMIC = "pango-module-*" | 21 | PACKAGES_DYNAMIC = "^pango-module-.*" |
22 | 22 | ||
23 | RRECOMMENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'x11', 'pango-module-basic-x', '', d)} pango-module-basic-fc" | 23 | RRECOMMENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'x11', 'pango-module-basic-x', '', d)} pango-module-basic-fc" |
24 | 24 | ||