From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/5] perl: fix PERLCONFIGTARGET for multimach builds, move cpan vars
Date: Sat, 25 Dec 2010 09:23:02 -0800 [thread overview]
Message-ID: <4D162876.1000401@gmail.com> (raw)
In-Reply-To: <1293274109-15695-1-git-send-email-khimov@altell.ru>
On 12/25/2010 2:48 AM, Roman I Khimov wrote:
> Multimachine builds race staging Config_heavy-target.pl to native directory.
> Solve that by changing PERLCONFIGTARGET variable semantics, now it will
> contain $TARGET_SYS. Change perl patch and stage functions accordingly.
>
> Also, move PERLCONFIGTARGET and other target-specific variable settings from
> cpan to cpan-base as I think they're also useful for cpan_build and anywhere
> else cpan-base is needed.
>
> Signed-off-by: Roman I Khimov<khimov@altell.ru>
> ---
> classes/cpan-base.bbclass | 14 ++++++++++++--
> classes/cpan.bbclass | 10 ----------
> classes/cpan_build.bbclass | 4 ++--
> .../perl/perl-5.10.1/perl-configpm-switch.patch | 6 +++---
> recipes/perl/perl-5.8.8/perl-configpm-switch.patch | 6 +++---
> recipes/perl/perl-native_5.10.1.bb | 2 +-
> recipes/perl/perl-native_5.8.8.bb | 2 +-
> recipes/perl/perl_5.10.1.bb | 4 ++--
> recipes/perl/perl_5.8.8.bb | 2 +-
> 9 files changed, 25 insertions(+), 25 deletions(-)
>
> diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass
> index a04f61c..53621ed 100644
> --- a/classes/cpan-base.bbclass
> +++ b/classes/cpan-base.bbclass
> @@ -32,11 +32,21 @@ def perl_get_libdirs(d):
>
> def is_target(d):
> if not bb.data.inherits_class('native', d):
> - return "yes"
> - return "no"
> + return bb.data.expand('${TARGET_SYS}', d)
> + return ""
not that its wrong but I think you could also use MULTIMACH_ARCH instead
of TARGET_SYS here
next prev parent reply other threads:[~2010-12-25 17:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-25 10:48 [PATCH 1/5] perl: fix PERLCONFIGTARGET for multimach builds, move cpan vars Roman I Khimov
2010-12-25 10:48 ` [PATCH 2/5] perl 5.10.1: fix Time::HiRes cross-compilation Roman I Khimov
2010-12-25 10:48 ` [PATCH 3/5] perl-native: fix ExtUtils::Liblist::Kid library check for cross-build Roman I Khimov
2010-12-25 10:48 ` [PATCH 4/5] perl-5.10.1: fix config var. 'need_va_copy' Roman I Khimov
2010-12-25 10:48 ` [PATCH 5/5] perl: fix some arch-specific config.sh variables Roman I Khimov
2010-12-25 17:38 ` Khem Raj
2010-12-25 17:39 ` [PATCH 4/5] perl-5.10.1: fix config var. 'need_va_copy' Khem Raj
2010-12-25 17:33 ` [PATCH 3/5] perl-native: fix ExtUtils::Liblist::Kid library check for cross-build Khem Raj
2010-12-25 18:05 ` Roman I Khimov
2010-12-25 19:55 ` Khem Raj
2010-12-25 17:30 ` [PATCH 2/5] perl 5.10.1: fix Time::HiRes cross-compilation Khem Raj
2010-12-25 18:25 ` Roman I Khimov
2010-12-25 19:57 ` Khem Raj
2010-12-26 6:26 ` Roman I Khimov
2010-12-25 17:23 ` Khem Raj [this message]
2010-12-25 18:44 ` [PATCH 1/5] perl: fix PERLCONFIGTARGET for multimach builds, move cpan vars Roman I Khimov
2010-12-25 20:01 ` Khem Raj
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=4D162876.1000401@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.