Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] perl: native modules will not trigger build perl for target.
@ 2017-12-04 18:16 Krzysztof Taborski
  2017-12-08 17:46 ` Krzysztof Taborski
       [not found] ` <00b201d3704c$8357c870$8a075950$@gmail.com>
  0 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Taborski @ 2017-12-04 18:16 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 48113f05a9..a81dc4d703 100644
--- a/meta/recipes-devtools/perl/perl-native_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb
@@ -134,3 +134,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 6b27b22d22..3dc7805da9 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -323,7 +323,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] 6+ messages in thread

end of thread, other threads:[~2018-05-08 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-04 18:16 [PATCH v2] perl: native modules will not trigger build perl for target Krzysztof Taborski
2017-12-08 17:46 ` Krzysztof Taborski
     [not found] ` <00b201d3704c$8357c870$8a075950$@gmail.com>
2017-12-12  8:34   ` Krzysztof Taborski
2017-12-18 15:51     ` Krzysztof Taborski
2018-05-08 13:08       ` Krzysztof Taborski
2018-05-08 14:11         ` Alexander Kanavin

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