diff options
| author | Mark Hatle <mark.hatle@windriver.com> | 2012-03-30 14:29:25 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-04 17:17:54 +0100 |
| commit | d328ae22b71f35dd746bd095891100be39925f68 (patch) | |
| tree | 5d15b3486c30185ff9d2bdf0d711c8e8f1145680 /meta/conf/machine/include/mips/README | |
| parent | d6e7ebb20934a4c4822898b4f4adfcde7f7f4049 (diff) | |
| download | poky-d328ae22b71f35dd746bd095891100be39925f68.tar.gz | |
conf/machine/include: Cleanup MIPS tunings to match README
Cleanup the MIPS tunings to match the new tuning README file. Also
add a MIPS specific README file to explain the MIPS specifical
architectural issues.
Finally correct the variant configurations within the tune-mips32.inc.
(From OE-Core rev: efbfa2ace3362393a20340af93e8dcab17a8619a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/mips/README')
| -rw-r--r-- | meta/conf/machine/include/mips/README | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/conf/machine/include/mips/README b/meta/conf/machine/include/mips/README new file mode 100644 index 0000000000..c375f316df --- /dev/null +++ b/meta/conf/machine/include/mips/README | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | 2012/03/30 - Mark Hatle <mark.hatle@windriver.com> | ||
| 2 | - Initial Version | ||
| 3 | |||
| 4 | MIPS currently defines 12 ABIs. Combinations of: | ||
| 5 | *) Big/Little Endian | ||
| 6 | *) Hardware/Software Floating Point | ||
| 7 | *) o32, n32, n64 ABI | ||
| 8 | |||
| 9 | TUNE_ARCH, the GNU canonical arch, is defined as: | ||
| 10 | |||
| 11 | mips${MIPSPKGSFX_BYTE}${MIPSPKGSFX_ENDIAN} | ||
| 12 | |||
| 13 | The package arch is defined in such a way to generated a standard naming | ||
| 14 | scheme. The scheme is: <mips variant>[-nf][-n32] | ||
| 15 | |||
| 16 | TUNE_PKGARCH is defined as: | ||
| 17 | |||
| 18 | ${MIPSPKGSFX_VARIANT_tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI} | ||
| 19 | |||
| 20 | The following is a list of MIPS specific variables: | ||
| 21 | |||
| 22 | MIPSPKGSFX_BYTE - This is defined as either blank and "64" for MIPS64 CPUs. | ||
| 23 | |||
| 24 | MIPSPKGSFX_ENDIAN - For bigendian hardware this is blank, otherwise it's | ||
| 25 | defined as "el". | ||
| 26 | |||
| 27 | MIPSPKGSFX_VARIANT_tune-<tune> - In the default tunings it is set to the | ||
| 28 | same value as TUNE_ARCH. In custom, optimized tunings, the value should | ||
| 29 | be modified to more precisely describe the tuning. | ||
| 30 | |||
| 31 | MIPSPKGSFX_FPU - The value is set to "" or "-nf", where "-nf" indicates | ||
| 32 | that the tune is using a non-floating point ABI. | ||
| 33 | |||
| 34 | MIPSPKGSFX_ABI - This is used to specify an alternative ABI when the previous | ||
| 35 | values are not enough to distringuish the package. "-n32" is added when | ||
| 36 | building for N32 ABI. | ||
