]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl: avoid using += with an over-ride
authorAndre McCurdy <armccurdy@gmail.com>
Wed, 22 Aug 2018 01:24:27 +0000 (18:24 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Aug 2018 06:45:32 +0000 (07:45 +0100)
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl-native_5.24.4.bb
meta/recipes-devtools/perl/perl_5.24.4.bb

index 90a1615551b96968eb2055c1b51962b4f6d1cbbf..affc9d5d78a1fb6c3da0320975dbb6065903ba0b 100644 (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$"
index 4709d3e7854c76ffece15f47114dd0248c930656..87a85a39d45d5495da93fb14242718b4f7498495 100644 (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"