mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 02:33:02 +01:00
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
* mipsarch{eb,el} : All MIPS Big/Little Endian
* mipsarchr6 : All MIPS R6
* mipsarcho32 : All MIPS o32 Endian Independent
* mipsarchn32 : All MIPS n32 Endian Independent
* mipsarchn64 : All MIPS n64 Endian Independent
* mipsarcho32{eb,el} : All MIPS o32 Big/Little Endian
* mipsarchn32{eb,el} : All MIPS n32 Big/Little Endian
* mipsarchn64{eb,el} : All MIPS n64 Big/Little Endian
This is intended to reduce duplications in recipes
[YOCTO #10404]
(From OE-Core rev: 0d2205f26e5ece089630f72af2bd5f0931e851c3)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
2016/09/30 - Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
|
|
- Add Release 6 support
|
|
|
|
2012/03/30 - Mark Hatle <mark.hatle@windriver.com>
|
|
- Initial Version
|
|
|
|
MIPS currently defines 12 ABIs. Combinations of:
|
|
*) Big/Little Endian
|
|
*) Hardware/Software Floating Point
|
|
*) o32, n32, n64 ABI
|
|
|
|
Release 6 of the ISA is a major revision and doesn't build up on previous
|
|
releases of the ISA.
|
|
|
|
For more details about tuples, check https://wiki.debian.org/Multiarch/Tuples
|
|
|
|
TUNE_ARCH, the GNU canonical arch, is defined as:
|
|
|
|
"mips${MIPSPKGSFX_32R6}${MIPSPKGSFX_64R6}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}"
|
|
|
|
The package arch is defined in such a way to generated a standard naming
|
|
scheme. The scheme is: <mips variant>[-nf][-n32]
|
|
|
|
TUNE_PKGARCH is defined as:
|
|
|
|
${MIPSPKGSFX_VARIANT_tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI}
|
|
|
|
The following is a list of MIPS specific variables:
|
|
|
|
MIPSPKGSFX_BYTE - This is defined as either blank and "64" for MIPS64 CPUs.
|
|
|
|
MIPSPKGSFX_ENDIAN - For bigendian hardware this is blank, otherwise it's
|
|
defined as "el".
|
|
|
|
MIPSPKGSFX_ENDIAN2 - For bigendian hardware this is "eb", otherwise it's
|
|
defined as "el".
|
|
|
|
MIPSPKGSFX_VARIANT_tune-<tune> - In the default tunings it is set to the
|
|
same value as TUNE_ARCH. In custom, optimized tunings, the value should
|
|
be modified to more precisely describe the tuning.
|
|
|
|
MIPSPKGSFX_FPU - The value is set to "" or "-nf", where "-nf" indicates
|
|
that the tune is using a non-floating point ABI.
|
|
|
|
MIPSPKGSFX_ABI - This is used to specify an alternative ABI when the previous
|
|
values are not enough to distringuish the package. "-n32" is added when
|
|
building for N32 ABI.
|
|
|
|
MIPSPKGSFX_R6 - This is used to specify the presence of release 6.
|
|
"r6" is added in the tuple for release 6 of the isa.
|
|
|
|
MIPSPKGSFX_64R6 - This is used to specify "isa" in the tuple.
|
|
Release 6 onwards we use "mipsisa64" instead of just "mips64".
|
|
|
|
MIPSPKGSFX_32R6 - This is used to specify "isa32" in the tuple.
|
|
Release 6 onwards we use "mipsisa32" instead of just "mips".
|