Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] perl: native modules will not trigger build perl for target.
@ 2018-05-08 16:46 Krzysztof Taborski
  2018-05-09 14:16 ` taborskikrzysztof
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Taborski @ 2018-05-08 16:46 UTC (permalink / raw)
  To: openembedded-core; +Cc: Krzysztof Taborski

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>
---
 meta/recipes-devtools/perl/perl-native_5.24.1.bb | 2 ++
 meta/recipes-devtools/perl/perl_5.24.1.bb        | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

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 53a426289a..4c6a71082f 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -339,7 +339,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"
-- 
2.13.6



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-24 20:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-08 16:46 [meta-oe][PATCH] perl: native modules will not trigger build perl for target Krzysztof Taborski
2018-05-09 14:16 ` taborskikrzysztof
2018-07-09 19:40   ` Andre McCurdy
2018-07-23 12:57     ` Krzysztof Taborski
2018-07-23 17:23       ` Andre McCurdy
2018-07-24  7:22         ` Krzysztof Taborski
2018-07-24 20:20           ` Andre McCurdy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox