diff options
Diffstat (limited to 'meta/conf/machine/include/mips/arch-mips.inc')
-rw-r--r-- | meta/conf/machine/include/mips/arch-mips.inc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc index 02626d300e..89d17e7c20 100644 --- a/meta/conf/machine/include/mips/arch-mips.inc +++ b/meta/conf/machine/include/mips/arch-mips.inc | |||
@@ -8,33 +8,33 @@ DEFAULTTUNE ?= "mips" | |||
8 | 8 | ||
9 | # Endianess | 9 | # Endianess |
10 | TUNEVALID[bigendian] = "Enable big-endian mode" | 10 | TUNEVALID[bigendian] = "Enable big-endian mode" |
11 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -meb", " -mel", d)}" | 11 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -meb', ' -mel', d)}" |
12 | 12 | ||
13 | # ABI flags | 13 | # ABI flags |
14 | TUNEVALID[o32] = "MIPS o32 ABI" | 14 | TUNEVALID[o32] = "MIPS o32 ABI" |
15 | TUNECONFLICTS[o32] = "n32 n64" | 15 | TUNECONFLICTS[o32] = "n32 n64" |
16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "o32", " -mabi=32", "", d)}" | 16 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'o32', ' -mabi=32', '', d)}" |
17 | 17 | ||
18 | TUNEVALID[n32] = "MIPS64 n32 ABI" | 18 | TUNEVALID[n32] = "MIPS64 n32 ABI" |
19 | TUNECONFLICTS[n32] = "o32 n64" | 19 | TUNECONFLICTS[n32] = "o32 n64" |
20 | ABIEXTENSION .= "${@bb.utils.contains("TUNE_FEATURES", "n32", "n32", "" ,d)}" | 20 | ABIEXTENSION .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'n32', '' ,d)}" |
21 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "n32", " -mabi=n32", "", d)}" | 21 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', ' -mabi=n32', '', d)}" |
22 | 22 | ||
23 | TUNEVALID[n64] = "MIPS64 n64 ABI" | 23 | TUNEVALID[n64] = "MIPS64 n64 ABI" |
24 | TUNECONFLICTS[n64] = "o32 n32" | 24 | TUNECONFLICTS[n64] = "o32 n32" |
25 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "n64", " -mabi=64", "", d)}" | 25 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}" |
26 | 26 | ||
27 | # Floating point | 27 | # Floating point |
28 | TUNEVALID[fpu-hard] = "Use hardware FPU" | 28 | TUNEVALID[fpu-hard] = "Use hardware FPU" |
29 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard", " -mhard-float", " -msoft-float", d)}" | 29 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', ' -mhard-float', ' -msoft-float', d)}" |
30 | TARGET_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard", "", "soft", d)}" | 30 | TARGET_FPU = "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', '', 'soft', d)}" |
31 | 31 | ||
32 | # Package naming | 32 | # Package naming |
33 | MIPSPKGSFX_ENDIAN = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "", "el", d)}" | 33 | MIPSPKGSFX_ENDIAN = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '', 'el', d)}" |
34 | MIPSPKGSFX_BYTE = "${@bb.utils.contains("TUNE_FEATURES", "n64" , "64", "", d)}" | 34 | MIPSPKGSFX_BYTE = "${@bb.utils.contains('TUNE_FEATURES', 'n64' , '64', '', d)}" |
35 | MIPSPKGSFX_BYTE .= "${@bb.utils.contains("TUNE_FEATURES", "n32" , "64", "", d)}" | 35 | MIPSPKGSFX_BYTE .= "${@bb.utils.contains('TUNE_FEATURES', 'n32' , '64', '', d)}" |
36 | MIPSPKGSFX_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard" , "", "-nf", d)}" | 36 | MIPSPKGSFX_FPU = "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard' , '', '-nf', d)}" |
37 | MIPSPKGSFX_ABI = "${@bb.utils.contains("TUNE_FEATURES", "n32", "-n32", "", d)}" | 37 | MIPSPKGSFX_ABI = "${@bb.utils.contains('TUNE_FEATURES', 'n32', '-n32', '', d)}" |
38 | 38 | ||
39 | TUNE_ARCH = "mips${MIPSPKGSFX_BYTE}${MIPSPKGSFX_ENDIAN}" | 39 | TUNE_ARCH = "mips${MIPSPKGSFX_BYTE}${MIPSPKGSFX_ENDIAN}" |
40 | TUNE_PKGARCH = "${MIPSPKGSFX_VARIANT_tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI}" | 40 | TUNE_PKGARCH = "${MIPSPKGSFX_VARIANT_tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI}" |