From: taborskikrzysztof <taborskikrzysztof@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] perl: native modules will not trigger build perl for target.
Date: Wed, 09 May 2018 16:16:24 +0200 [thread overview]
Message-ID: <5af302bc.1c69fb81.44885.4061@mx.google.com> (raw)
In-Reply-To: <20180508164658.2935-1-taborskikrzysztof@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]
Can I request review?
Wysłano z telefonu Samsung
-------- Oryginalna wiadomość --------Od: Krzysztof Taborski <taborskikrzysztof@gmail.com> Data: 08.05.2018 18:46 (GMT+01:00) Do: openembedded-core@lists.openembedded.org DW: Krzysztof Taborski <taborskikrzysztof@gmail.com> Temat: [meta-oe][PATCH] 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>
---
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
[-- Attachment #2: Type: text/html, Size: 2376 bytes --]
next prev parent reply other threads:[~2018-05-09 14:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5af302bc.1c69fb81.44885.4061@mx.google.com \
--to=taborskikrzysztof@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox