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-devtools/perl/perl_5.14.2.bb | |
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-devtools/perl/perl_5.14.2.bb')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.14.2.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb index d566a79a03..356ddb1dd6 100644 --- a/meta/recipes-devtools/perl/perl_5.14.2.bb +++ b/meta/recipes-devtools/perl/perl_5.14.2.bb | |||
@@ -310,8 +310,8 @@ python populate_packages_prepend () { | |||
310 | d.setVar("RRECOMMENDS_${PN}-modules", d.getVar('PACKAGES', True).replace('${PN}-modules ', '').replace('${PN}-dbg ', '').replace('${PN}-misc ', '').replace('${PN}-dev ', '').replace('${PN}-pod ', '').replace('${PN}-doc ', '')) | 310 | d.setVar("RRECOMMENDS_${PN}-modules", d.getVar('PACKAGES', True).replace('${PN}-modules ', '').replace('${PN}-dbg ', '').replace('${PN}-misc ', '').replace('${PN}-dev ', '').replace('${PN}-pod ', '').replace('${PN}-doc ', '')) |
311 | } | 311 | } |
312 | 312 | ||
313 | PACKAGES_DYNAMIC = "perl-module-*" | 313 | PACKAGES_DYNAMIC = "^perl-module-.*" |
314 | PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*" | 314 | PACKAGES_DYNAMIC_virtclass-nativesdk = "^nativesdk-perl-module-.*" |
315 | 315 | ||
316 | RPROVIDES_perl-lib = "perl-lib" | 316 | RPROVIDES_perl-lib = "perl-lib" |
317 | 317 | ||