mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
perl_5.14.2.bb: use PACKAGES_DYNAMIC as regexp
bitbake uses PACKAGES_DYNAMIC as regexp
1, use `^' to make matching faster (and it will be more clear
that we're expecting regexp not glob)
2, use `*' to made all those last '-' optional, use .* (or nothing)
3, use `+=' instead of `=' to to keep ${PN}-locale from
bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*"
Cherry-pick commit 33b31640bf
Cherry-pick commit fadb407901
(From OE-Core rev: a9b639c061faa9a9a4840218c8c44a71b246373e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a477bc9088
commit
e73a12790e
|
|
@ -311,8 +311,8 @@ python populate_packages_prepend () {
|
|||
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 ', ''))
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "perl-module-*"
|
||||
PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*"
|
||||
PACKAGES_DYNAMIC += "^perl-module-.*"
|
||||
PACKAGES_DYNAMIC_virtclass-nativesdk += "^nativesdk-perl-module-.*"
|
||||
|
||||
RPROVIDES_perl-lib = "perl-lib"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user