summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorKrzysztof Taborski <taborskikrzysztof@gmail.com>2018-05-08 18:46:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 17:56:57 +0100
commit5878d5d3f9bab146caa9d4a62861e613d438ff41 (patch)
tree696483367631d357b5fc249b9c0a9016fe38d699 /meta/recipes-devtools/perl
parent642944f788678d988ae9c2b678f0946a91f64c3a (diff)
downloadpoky-5878d5d3f9bab146caa9d4a62861e613d438ff41.tar.gz
perl: native modules will not trigger build perl for target.
Currently building perl-native modules triggers build perl for target due to PACKAGES_DYNAMIC regex. This commit will cause, that perl native modules will trigger perl-native build. (From OE-Core rev: 7dd9772eca6df52db09b65537fdf689f1aa3fd8f) (From OE-Core rev: 3ad793c9ae1eb0b0599078298d55a37042f11239) Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl-native_5.24.1.bb2
-rw-r--r--meta/recipes-devtools/perl/perl_5.24.1.bb2
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.24.1.bb b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
index a9ab17d16c..71f45890b0 100644
--- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
@@ -135,3 +135,5 @@ EOF
135 135
136# Fix the path in sstate 136# Fix the path in sstate
137SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh" 137SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
138PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$"
139
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 51b51298bb..91f310d421 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -340,7 +340,7 @@ python split_perl_packages () {
340 d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages)) 340 d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages))
341} 341}
342 342
343PACKAGES_DYNAMIC += "^perl-module-.*" 343PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$"
344PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*" 344PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*"
345 345
346RPROVIDES_perl-lib = "perl-lib" 346RPROVIDES_perl-lib = "perl-lib"