diff options
author | Krzysztof Taborski <taborskikrzysztof@gmail.com> | 2018-05-08 18:46:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-11 07:49:31 +0100 |
commit | 7dd9772eca6df52db09b65537fdf689f1aa3fd8f (patch) | |
tree | e5a0f21546b149e4de20df3aa698db035d1a3be4 | |
parent | b46c55c3b9db5d8f2080ae2611294a5b24efe4a4 (diff) | |
download | openembedded-core-7dd9772eca6df52db09b65537fdf689f1aa3fd8f.tar.gz openembedded-core-7dd9772eca6df52db09b65537fdf689f1aa3fd8f.tar.bz2 openembedded-core-7dd9772eca6df52db09b65537fdf689f1aa3fd8f.zip |
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.
Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/perl-native_5.24.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.24.1.bb | 2 |
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 # Fix the path in sstate SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh" +PACKAGES_DYNAMIC_class-native += "^perl-module-.*native$" + diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb index 2574886784..1329a72240 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 () { d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages)) } -PACKAGES_DYNAMIC += "^perl-module-.*" +PACKAGES_DYNAMIC += "^perl-module-.*(?<!\-native)$" PACKAGES_DYNAMIC_class-nativesdk += "^nativesdk-perl-module-.*" RPROVIDES_perl-lib = "perl-lib" |