perl: avoid using += with an over-ride

Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.

(From OE-Core rev: 2588c2aae11b7b480022dc11575295fdc792bf3f)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andre McCurdy
2018-08-21 18:24:27 -07:00
committed by Richard Purdie
parent a3928b3463
commit fa3529e117
2 changed files with 2 additions and 2 deletions

View File

@@ -135,5 +135,5 @@ EOF
# Fix the path in sstate
SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$"
PACKAGES_DYNAMIC_class-native = "^perl-module-.*native$"

View File

@@ -339,7 +339,7 @@ python split_perl_packages () {
}
PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$"
PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*"
PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-perl-module-.*"
RPROVIDES_perl-lib = "perl-lib"