From: "André Draszik" <git@andred.net>
To: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [Patch 01/13] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication
Date: Tue, 08 Nov 2016 10:54:10 +0000 [thread overview]
Message-ID: <1478602450.8895.9.camel@andred.net> (raw)
In-Reply-To: <CAJ86T=UAjjvEOoxJjWX16x-iDNqb-EAHqgCEBZ9_SyW00W7mEg@mail.gmail.com>
On Mon, 2016-11-07 at 18:32 -0800, Andre McCurdy wrote:
> On Mon, Nov 7, 2016 at 9:30 AM, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > 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_FEATU
> > > RES', 'mipsisa32r6', 'isa32',
> > > TUNE_ARCH =
> > > "mips${MIPSPKGSFX_32R6}${MIPSPKGSFX_64R6}${MIPSPKGSFX_BYTE}${MIPSPKGSF
> > > X_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 ?
>
> We explicitly removed _thumb as an over-ride for ARM, so adding the
> equivalent for MIPS would be odd, unless you see a clear need for it?
There is a need as not all code compiles in MIPS16e mode... The override is
already there in OE - modelled after the original (now gone) thumb override.
http://git.openembedded.org/openembedded-core/tree/meta/conf/machine/include/mips/feature-mips-mips16e.inc
Cheers,
Andre'
next prev parent reply other threads:[~2016-11-08 10:54 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
2016-11-08 2:32 ` Andre McCurdy
2016-11-08 10:54 ` André Draszik [this message]
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=1478602450.8895.9.camel@andred.net \
--to=git@andred.net \
--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