From: Ilya Yanok <yanok@emcraft.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] arch-powerpc: set PACKAGE_EXTRA_ARCHS
Date: Thu, 13 Oct 2011 23:31:37 +0400 [thread overview]
Message-ID: <4E973C99.4080402@emcraft.com> (raw)
In-Reply-To: <1315409916-2298-1-git-send-email-yanok@emcraft.com>
Hi guys,
any comments on this patch?
Regards, Ilya.
On 07.09.2011 19:38, Ilya Yanok wrote:
> Set PACKAGE_EXTRA_ARCHS for the generic tunes ("powerpc" and
> "powerpc-nf") thus allowing to use them instead of tuning to the
> specific CPU.
>
> Signed-off-by: Ilya Yanok <yanok@emcraft.com>
> ---
> meta/conf/machine/include/powerpc/arch-powerpc.inc | 6 ++++--
> meta/conf/machine/include/tune-ppc603e.inc | 2 +-
> meta/conf/machine/include/tune-ppce300c2.inc | 2 +-
> meta/conf/machine/include/tune-ppce500mc.inc | 2 +-
> 4 files changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc
> index da1a1d6..8347f86 100644
> --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc
> +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc
> @@ -25,9 +25,11 @@ TUNE_PKGARCH ?= "${PPCPKGARCH}"
>
> # Basic tune definitions
> AVAILTUNES += "powerpc powerpc-nf"
> -TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard"
> -BASE_LIB_tune-powerpc = "lib"
> TUNE_FEATURES_tune-powerpc-nf ?= "m32 fpu-soft"
> BASE_LIB_tune-powerpc-nf = "lib"
> +PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf"
> +TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard"
> +BASE_LIB_tune-powerpc = "lib"
> +PACKAGE_EXTRA_ARCHS_tune-powerpc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} powerpc"
>
>
> diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc
> index c743dde..663f220 100644
> --- a/meta/conf/machine/include/tune-ppc603e.inc
> +++ b/meta/conf/machine/include/tune-ppc603e.inc
> @@ -8,7 +8,7 @@ TUNE_PKGARCH = "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', 'ppc603e', '${P
>
> AVAILTUNES = "ppc603e"
> TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e"
> -PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e"
> +PACKAGE_EXTRA_ARCHS_tune-ppc603e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc603e"
>
> # glibc configure options to get 603e specific library (for sqrt)
> GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-with-cpu=603e", "", d)}"
> diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc
> index 5eea4a6..bdca1aa 100644
> --- a/meta/conf/machine/include/tune-ppce300c2.inc
> +++ b/meta/conf/machine/include/tune-ppce300c2.inc
> @@ -8,4 +8,4 @@ TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "ppce300c2",
>
> AVAILTUNES += "ppce300c2"
> TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2"
> -PACKAGE_EXTRA_ARCHS_tune-ppce300c2 = "powerpc-nf ppce300c2"
> +PACKAGE_EXTRA_ARCHS_tune-ppce300c2 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c2"
> diff --git a/meta/conf/machine/include/tune-ppce500mc.inc b/meta/conf/machine/include/tune-ppce500mc.inc
> index 33820ef..950c46d 100644
> --- a/meta/conf/machine/include/tune-ppce500mc.inc
> +++ b/meta/conf/machine/include/tune-ppce500mc.inc
> @@ -8,7 +8,7 @@ TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "ppce500mc",
>
> AVAILTUNES = "ppce500mc"
> TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc"
> -PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "powerpc ppce500mc"
> +PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce500mc"
>
> # glibc configure options to get e500mc specific library (for sqrt)
> GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}"
next prev parent reply other threads:[~2011-10-13 20:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-07 15:38 [PATCH] arch-powerpc: set PACKAGE_EXTRA_ARCHS Ilya Yanok
2011-10-13 19:31 ` Ilya Yanok [this message]
2011-10-14 15:56 ` Mark Hatle
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=4E973C99.4080402@emcraft.com \
--to=yanok@emcraft.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