diff options
| author | Andre McCurdy <armccurdy@gmail.com> | 2018-08-21 18:24:27 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-23 07:50:00 +0100 |
| commit | fa3529e1170986e90caf7212f326436f8370acb7 (patch) | |
| tree | 56cfbbaae90e29e05a1068b50f323bb8fb88698e /meta/recipes-devtools | |
| parent | a3928b3463ba86f7821f77565c8b2557ac7abbd1 (diff) | |
| download | poky-fa3529e1170986e90caf7212f326436f8370acb7.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/perl/perl-native_5.24.4.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/perl/perl_5.24.4.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.24.4.bb b/meta/recipes-devtools/perl/perl-native_5.24.4.bb index 90a1615551..affc9d5d78 100644 --- a/meta/recipes-devtools/perl/perl-native_5.24.4.bb +++ b/meta/recipes-devtools/perl/perl-native_5.24.4.bb | |||
| @@ -135,5 +135,5 @@ EOF | |||
| 135 | 135 | ||
| 136 | # Fix the path in sstate | 136 | # Fix the path in sstate |
| 137 | SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh" | 137 | SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh" |
| 138 | PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$" | ||
| 139 | 138 | ||
| 139 | PACKAGES_DYNAMIC_class-native = "^perl-module-.*native$" | ||
diff --git a/meta/recipes-devtools/perl/perl_5.24.4.bb b/meta/recipes-devtools/perl/perl_5.24.4.bb index 4709d3e785..87a85a39d4 100644 --- a/meta/recipes-devtools/perl/perl_5.24.4.bb +++ b/meta/recipes-devtools/perl/perl_5.24.4.bb | |||
| @@ -339,7 +339,7 @@ python split_perl_packages () { | |||
| 339 | } | 339 | } |
| 340 | 340 | ||
| 341 | PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$" | 341 | PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$" |
| 342 | PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*" | 342 | PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-perl-module-.*" |
| 343 | 343 | ||
| 344 | RPROVIDES_perl-lib = "perl-lib" | 344 | RPROVIDES_perl-lib = "perl-lib" |
| 345 | 345 | ||
