public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [Patch 01/13] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication
Date: Mon, 7 Nov 2016 09:30:22 -0800	[thread overview]
Message-ID: <dfeea628-1c1b-1e1e-b015-aa4cd5b9b42c@gmail.com> (raw)
In-Reply-To: <20161107150135.40266-2-Zubair.Kakakhel@imgtec.com>



On 11/7/16 7:01 AM, Zubair Lutfullah Kakakhel wrote:
> In some cases, each MIPS variant in a recipe requires a duplicate
> line. Even if the passed flag is the same.
> 
> Add global MACHINEOVERRIDES variables for the following
>  * mipsarch		: All MIPS
>  * mipsarchr6		: All MIPS R6
>  * mipsarcho32{el}	: All MIPS o32
>  * mipsarchn32{el}	: All MIPS n32
>  * mipsarchn64{el}	: All MIPS n64
> 
> This is intended to reduce duplications in recipes
> 
> [YOCTO #10404]
> 
> Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
> ---
>  meta/conf/machine/include/mips/arch-mips.inc | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc
> index 6069ca1..5b42841 100644
> --- a/meta/conf/machine/include/mips/arch-mips.inc
> +++ b/meta/conf/machine/include/mips/arch-mips.inc
> @@ -50,6 +50,13 @@ MIPSPKGSFX_32R6 = "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa32r6', 'isa32',
>  TUNE_ARCH = "mips${MIPSPKGSFX_32R6}${MIPSPKGSFX_64R6}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}"
>  TUNE_PKGARCH = "${MIPSPKGSFX_VARIANT_tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI}"
>  
> +# Various Global Machine Overrides
> +MACHINEOVERRIDES =. "mipsarch:"
> +MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'r6', 'mipsarchr6:', '' ,d)}"
> +MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'mipsarchn32${MIPSPKGSFX_ENDIAN}:', '' ,d)}"
> +MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'o32', 'mipsarcho32${MIPSPKGSFX_ENDIAN}:', '' ,d)}"
> +MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n64', 'mipsarch64${MIPSPKGSFX_ENDIAN}:', '' ,d)}"

how about mips16 ?

> +
>  # Base tunes
>  AVAILTUNES += "mips mips64-n32 mips64 mipsel mips64el-n32 mips64el mips-nf mips64-nf-n32 mips64-nf mipsel-nf mips64el-nf-n32 mips64el-nf"
>  TUNE_FEATURES_tune-mips = "o32 bigendian fpu-hard"
> 


  reply	other threads:[~2016-11-07 17:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 15:01 [Patch 00/13] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 01/13] arch-mips: Add MACHINEOVERRIDES variables to " Zubair Lutfullah Kakakhel
2016-11-07 17:30   ` Khem Raj [this message]
2016-11-08  2:32     ` Andre McCurdy
2016-11-08 10:54       ` André Draszik
2016-11-07 15:01 ` [Patch 02/13] bitbake.conf: Reduce duplication in MIPS variants Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 03/13] fts: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 04/13] glibc: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 05/13] packagegroup: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 06/13] gcc-runtime: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 07/13] gdb: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 08/13] mmc-utils: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 09/13] valgrind: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 10/13] ghostscript: " Zubair Lutfullah Kakakhel
2016-11-07 17:33   ` Khem Raj
2016-11-07 15:01 ` [Patch 11/13] ltp: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 12/13] mdadm: " Zubair Lutfullah Kakakhel
2016-11-07 15:01 ` [Patch 13/13] webkit: " Zubair Lutfullah Kakakhel
2016-11-07 16:05 ` [Patch 00/13] MIPS: Use MACHINEOVERRIDES and reduce duplication Mark Hatle
2016-11-07 17:34   ` 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=dfeea628-1c1b-1e1e-b015-aa4cd5b9b42c@gmail.com \
    --to=raj.khem@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