diff options
Diffstat (limited to 'meta/conf')
55 files changed, 128 insertions, 128 deletions
diff --git a/meta/conf/machine/include/arm/arch-arm.inc b/meta/conf/machine/include/arm/arch-arm.inc index 90b80c4c36..129fbfbf36 100644 --- a/meta/conf/machine/include/arm/arch-arm.inc +++ b/meta/conf/machine/include/arm/arch-arm.inc | |||
@@ -2,13 +2,13 @@ | |||
2 | TUNEVALID[bigendian] = "Enable big-endian mode." | 2 | TUNEVALID[bigendian] = "Enable big-endian mode." |
3 | 3 | ||
4 | ARMPKGARCH = "${ARMPKGARCH_tune-${DEFAULTTUNE}}" | 4 | ARMPKGARCH = "${ARMPKGARCH_tune-${DEFAULTTUNE}}" |
5 | ARMPKGSFX_ENDIAN = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "b", "", d)}" | 5 | ARMPKGSFX_ENDIAN = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'b', '', d)}" |
6 | ARMPKGSFX_FPU ??= "" | 6 | ARMPKGSFX_FPU ??= "" |
7 | ARMPKGSFX_DSP ??= "" | 7 | ARMPKGSFX_DSP ??= "" |
8 | ARMPKGSFX_EABI ??= "" | 8 | ARMPKGSFX_EABI ??= "" |
9 | ARMPKGSFX_THUMB ??= "" | 9 | ARMPKGSFX_THUMB ??= "" |
10 | 10 | ||
11 | TUNE_ARCH = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "armeb", "arm", d)}" | 11 | TUNE_ARCH = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'armeb', 'arm', d)}" |
12 | TUNE_PKGARCH = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" | 12 | TUNE_PKGARCH = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" |
13 | 13 | ||
14 | ABIEXTENSION = "eabi" | 14 | ABIEXTENSION = "eabi" |
diff --git a/meta/conf/machine/include/arm/arch-arm64.inc b/meta/conf/machine/include/arm/arch-arm64.inc index 5376b87dd6..866b71fdeb 100644 --- a/meta/conf/machine/include/arm/arch-arm64.inc +++ b/meta/conf/machine/include/arm/arch-arm64.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/arm/arch-armv7a.inc | |||
4 | 4 | ||
5 | TUNEVALID[aarch64] = "Enable instructions for aarch64" | 5 | TUNEVALID[aarch64] = "Enable instructions for aarch64" |
6 | 6 | ||
7 | MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}" | 7 | MACHINEOVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', ':aarch64', '' ,d)}" |
8 | 8 | ||
9 | # Little Endian base configs | 9 | # Little Endian base configs |
10 | AVAILTUNES += "aarch64 aarch64_be" | 10 | AVAILTUNES += "aarch64 aarch64_be" |
@@ -18,19 +18,19 @@ BASE_LIB_tune-aarch64_be = "lib64" | |||
18 | PACKAGE_EXTRA_ARCHS_tune-aarch64 = "aarch64" | 18 | PACKAGE_EXTRA_ARCHS_tune-aarch64 = "aarch64" |
19 | PACKAGE_EXTRA_ARCHS_tune-aarch64_be = "aarch64_be" | 19 | PACKAGE_EXTRA_ARCHS_tune-aarch64_be = "aarch64_be" |
20 | 20 | ||
21 | ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "_be", "", d)}" | 21 | ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '_be', '', d)}" |
22 | TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" | 22 | TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" |
23 | TUNE_PKGARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" | 23 | TUNE_PKGARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" |
24 | ABIEXTENSION_64 = "" | 24 | ABIEXTENSION_64 = "" |
25 | TARGET_FPU_64 = "" | 25 | TARGET_FPU_64 = "" |
26 | 26 | ||
27 | # Duplicated from arch-arm.inc | 27 | # Duplicated from arch-arm.inc |
28 | TUNE_ARCH_32 = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "armeb", "arm", d)}" | 28 | TUNE_ARCH_32 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'armeb', 'arm', d)}" |
29 | TUNE_PKGARCH_32 = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" | 29 | TUNE_PKGARCH_32 = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" |
30 | ABIEXTENSION_32 = "eabi" | 30 | ABIEXTENSION_32 = "eabi" |
31 | TARGET_FPU_32 = "${@d.getVar('ARMPKGSFX_FPU', True).strip('-') or 'soft'}" | 31 | TARGET_FPU_32 = "${@d.getVar('ARMPKGSFX_FPU', True).strip('-') or 'soft'}" |
32 | 32 | ||
33 | TUNE_ARCH = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TUNE_ARCH_64}", "${TUNE_ARCH_32}" ,d)}" | 33 | TUNE_ARCH = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '${TUNE_ARCH_64}', '${TUNE_ARCH_32}' ,d)}" |
34 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TUNE_PKGARCH_64}", "${TUNE_PKGARCH_32}" ,d)}" | 34 | TUNE_PKGARCH = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '${TUNE_PKGARCH_64}', '${TUNE_PKGARCH_32}' ,d)}" |
35 | ABIEXTENSION = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${ABIEXTENSION_64}", "${ABIEXTENSION_32}" ,d)}" | 35 | ABIEXTENSION = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '${ABIEXTENSION_64}', '${ABIEXTENSION_32}' ,d)}" |
36 | TARGET_FPU = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TARGET_FPU_64}", "${TARGET_FPU_32}" ,d)}" | 36 | TARGET_FPU = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '${TARGET_FPU_64}', '${TARGET_FPU_32}' ,d)}" |
diff --git a/meta/conf/machine/include/arm/arch-armv4.inc b/meta/conf/machine/include/arm/arch-armv4.inc index 52c07a83cf..07e005dd2f 100644 --- a/meta/conf/machine/include/arm/arch-armv4.inc +++ b/meta/conf/machine/include/arm/arch-armv4.inc | |||
@@ -2,15 +2,15 @@ DEFAULTTUNE ?= "armv4" | |||
2 | 2 | ||
3 | TUNEVALID[arm] = "Enable ARM instruction set" | 3 | TUNEVALID[arm] = "Enable ARM instruction set" |
4 | TUNEVALID[armv4] = "Enable instructions for ARMv4" | 4 | TUNEVALID[armv4] = "Enable instructions for ARMv4" |
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv4", " -march=armv4${ARMPKGSFX_THUMB}", "", d)}" | 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv4', ' -march=armv4${ARMPKGSFX_THUMB}', '', d)}" |
6 | # enable --fix-v4bx when we have armv4 in TUNE_FEATURES, but then disable it when we have also armv5 or thumb | 6 | # enable --fix-v4bx when we have armv4 in TUNE_FEATURES, but then disable it when we have also armv5 or thumb |
7 | # maybe we should extend bb.utils.contains to support check for any checkvalues in value, now it does | 7 | # maybe we should extend bb.utils.contains to support check for any checkvalues in value, now it does |
8 | # checkvalues.issubset(val) which cannot be used for negative test of foo neither bar in value | 8 | # checkvalues.issubset(val) which cannot be used for negative test of foo neither bar in value |
9 | FIX_V4BX_ARMV4 = "${@bb.utils.contains("TUNE_FEATURES", "armv4", "--fix-v4bx", "", d)}" | 9 | FIX_V4BX_ARMV4 = "${@bb.utils.contains('TUNE_FEATURES', 'armv4', '--fix-v4bx', '', d)}" |
10 | FIX_V4BX_ARMV5 = "${@bb.utils.contains("TUNE_FEATURES", "armv5", "", "${FIX_V4BX_ARMV4}", d)}" | 10 | FIX_V4BX_ARMV5 = "${@bb.utils.contains('TUNE_FEATURES', 'armv5', '', '${FIX_V4BX_ARMV4}', d)}" |
11 | FIX_V4BX = "${@bb.utils.contains("TUNE_FEATURES", "thumb", "", "${FIX_V4BX_ARMV5}", d)}" | 11 | FIX_V4BX = "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '', '${FIX_V4BX_ARMV5}', d)}" |
12 | TARGET_LD_KERNEL_ARCH += "${FIX_V4BX}" | 12 | TARGET_LD_KERNEL_ARCH += "${FIX_V4BX}" |
13 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "armv4", "armv4:", "" ,d)}" | 13 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv4', 'armv4:', '' ,d)}" |
14 | 14 | ||
15 | require conf/machine/include/arm/arch-arm.inc | 15 | require conf/machine/include/arm/arch-arm.inc |
16 | require conf/machine/include/arm/feature-arm-thumb.inc | 16 | require conf/machine/include/arm/feature-arm-thumb.inc |
diff --git a/meta/conf/machine/include/arm/arch-armv5-dsp.inc b/meta/conf/machine/include/arm/arch-armv5-dsp.inc index 524a62aec9..d132d9266e 100644 --- a/meta/conf/machine/include/arm/arch-armv5-dsp.inc +++ b/meta/conf/machine/include/arm/arch-armv5-dsp.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | ARMPKGSFX_DSP = "${@bb.utils.contains("TUNE_FEATURES", [ "armv5", "dsp" ], "e", "", d)}" | 1 | ARMPKGSFX_DSP = "${@bb.utils.contains('TUNE_FEATURES', [ 'armv5', 'dsp' ], 'e', '', d)}" |
2 | TUNEVALID[dsp] = "ARM DSP functionality" | 2 | TUNEVALID[dsp] = "ARM DSP functionality" |
3 | 3 | ||
4 | require conf/machine/include/arm/arch-armv5.inc | 4 | require conf/machine/include/arm/arch-armv5.inc |
diff --git a/meta/conf/machine/include/arm/arch-armv5.inc b/meta/conf/machine/include/arm/arch-armv5.inc index 5cceafa06f..bb5848cbc2 100644 --- a/meta/conf/machine/include/arm/arch-armv5.inc +++ b/meta/conf/machine/include/arm/arch-armv5.inc | |||
@@ -2,10 +2,10 @@ DEFAULTTUNE ?= "armv5" | |||
2 | 2 | ||
3 | TUNEVALID[armv5] = "Enable instructions for ARMv5" | 3 | TUNEVALID[armv5] = "Enable instructions for ARMv5" |
4 | TUNECONFLICTS[armv5] = "armv4" | 4 | TUNECONFLICTS[armv5] = "armv4" |
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv5", " -march=armv5${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}", "", d)}" | 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv5', ' -march=armv5${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}', '', d)}" |
6 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "armv5", "armv5:", "" ,d)}" | 6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv5', 'armv5:', '' ,d)}" |
7 | 7 | ||
8 | ARMPKGSFX_DSP = "${@bb.utils.contains("TUNE_FEATURES", [ "armv5", "dsp" ], "e", "", d)}" | 8 | ARMPKGSFX_DSP = "${@bb.utils.contains('TUNE_FEATURES', [ 'armv5', 'dsp' ], 'e', '', d)}" |
9 | 9 | ||
10 | require conf/machine/include/arm/arch-armv4.inc | 10 | require conf/machine/include/arm/arch-armv4.inc |
11 | require conf/machine/include/arm/feature-arm-vfp.inc | 11 | require conf/machine/include/arm/feature-arm-vfp.inc |
diff --git a/meta/conf/machine/include/arm/arch-armv6.inc b/meta/conf/machine/include/arm/arch-armv6.inc index 4b0c5bf2d1..9a3e19e0a8 100644 --- a/meta/conf/machine/include/arm/arch-armv6.inc +++ b/meta/conf/machine/include/arm/arch-armv6.inc | |||
@@ -2,8 +2,8 @@ DEFAULTTUNE ?= "armv6" | |||
2 | 2 | ||
3 | TUNEVALID[armv6] = "Enable instructions for ARMv6" | 3 | TUNEVALID[armv6] = "Enable instructions for ARMv6" |
4 | TUNECONFLICTS[armv6] = "armv4 armv5" | 4 | TUNECONFLICTS[armv6] = "armv4 armv5" |
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", " -march=armv6", "", d)}" | 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv6', ' -march=armv6', '', d)}" |
6 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "armv6", "armv6:", "" ,d)}" | 6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv6', 'armv6:', '' ,d)}" |
7 | 7 | ||
8 | require conf/machine/include/arm/arch-armv5-dsp.inc | 8 | require conf/machine/include/arm/arch-armv5-dsp.inc |
9 | 9 | ||
diff --git a/meta/conf/machine/include/arm/arch-armv7a.inc b/meta/conf/machine/include/arm/arch-armv7a.inc index d3b6f643a4..b962e4ca4d 100644 --- a/meta/conf/machine/include/arm/arch-armv7a.inc +++ b/meta/conf/machine/include/arm/arch-armv7a.inc | |||
@@ -2,8 +2,8 @@ DEFAULTTUNE ?= "armv7a" | |||
2 | 2 | ||
3 | TUNEVALID[armv7a] = "Enable instructions for ARMv7-a" | 3 | TUNEVALID[armv7a] = "Enable instructions for ARMv7-a" |
4 | TUNECONFLICTS[armv7a] = "armv4 armv5 armv6 armv7" | 4 | TUNECONFLICTS[armv7a] = "armv4 armv5 armv6 armv7" |
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7a", " -march=armv7-a", "", d)}" | 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7a', ' -march=armv7-a', '', d)}" |
6 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "armv7a", "armv7a:", "" ,d)}" | 6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'armv7a:', '' ,d)}" |
7 | 7 | ||
8 | require conf/machine/include/arm/arch-armv6.inc | 8 | require conf/machine/include/arm/arch-armv6.inc |
9 | require conf/machine/include/arm/feature-arm-neon.inc | 9 | require conf/machine/include/arm/feature-arm-neon.inc |
diff --git a/meta/conf/machine/include/arm/feature-arm-neon.inc b/meta/conf/machine/include/arm/feature-arm-neon.inc index e8b2b85d5a..e9351f9dd1 100644 --- a/meta/conf/machine/include/arm/feature-arm-neon.inc +++ b/meta/conf/machine/include/arm/feature-arm-neon.inc | |||
@@ -1,3 +1,3 @@ | |||
1 | TUNEVALID[neon] = "Enable Neon SIMD accelerator unit." | 1 | TUNEVALID[neon] = "Enable Neon SIMD accelerator unit." |
2 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "neon", bb.utils.contains("TUNE_FEATURES", "vfpv4", " -mfpu=neon-vfpv4", " -mfpu=neon", d), "" , d)}" | 2 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'neon', bb.utils.contains('TUNE_FEATURES', 'vfpv4', ' -mfpu=neon-vfpv4', ' -mfpu=neon', d), '' , d)}" |
3 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "neon", "-neon", "", d)}" | 3 | ARMPKGSFX_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'neon', '-neon', '', d)}" |
diff --git a/meta/conf/machine/include/arm/feature-arm-vfp.inc b/meta/conf/machine/include/arm/feature-arm-vfp.inc index 3dfbeac55e..e23d377252 100644 --- a/meta/conf/machine/include/arm/feature-arm-vfp.inc +++ b/meta/conf/machine/include/arm/feature-arm-vfp.inc | |||
@@ -1,17 +1,17 @@ | |||
1 | TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." | 1 | TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit." |
2 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}" | 2 | ARMPKGSFX_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfp', '-vfp', '' ,d)}" |
3 | 3 | ||
4 | TUNEVALID[vfpv3d16] = "Enable Vector Floating Point Version 3 with 16 registers (vfpv3-d16) unit." | 4 | TUNEVALID[vfpv3d16] = "Enable Vector Floating Point Version 3 with 16 registers (vfpv3-d16) unit." |
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3d16", " -mfpu=vfpv3-d16", "", d)}" | 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3d16', ' -mfpu=vfpv3-d16', '', d)}" |
6 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3d16", "-vfpv3d16", "" ,d)}" | 6 | ARMPKGSFX_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3d16', '-vfpv3d16', '' ,d)}" |
7 | 7 | ||
8 | TUNEVALID[vfpv3] = "Enable Vector Floating Point Version 3 with 32 registers (vfpv3) unit." | 8 | TUNEVALID[vfpv3] = "Enable Vector Floating Point Version 3 with 32 registers (vfpv3) unit." |
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3", " -mfpu=vfpv3", "", d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3', ' -mfpu=vfpv3', '', d)}" |
10 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv3", "-vfpv3", "" ,d)}" | 10 | ARMPKGSFX_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3', '-vfpv3', '' ,d)}" |
11 | 11 | ||
12 | TUNEVALID[vfpv4] = "Enable Vector Floating Point Version 4 (vfpv4) unit." | 12 | TUNEVALID[vfpv4] = "Enable Vector Floating Point Version 4 (vfpv4) unit." |
13 | ARMPKGSFX_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "vfpv4", "-vfpv4", "" ,d)}" | 13 | ARMPKGSFX_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv4', '-vfpv4', '' ,d)}" |
14 | 14 | ||
15 | TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." | 15 | TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP." |
16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}" | 16 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'vfp', bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', ' -mfloat-abi=hard', ' -mfloat-abi=softfp', d), '' ,d)}" |
17 | ARMPKGSFX_EABI .= "${@bb.utils.contains("TUNE_FEATURES", [ "callconvention-hard", "vfp" ], "hf", "", d)}" | 17 | ARMPKGSFX_EABI .= "${@bb.utils.contains('TUNE_FEATURES', [ 'callconvention-hard', 'vfp' ], 'hf', '', d)}" |
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}" |
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc index 036ca3c974..9cf6b88fd1 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc | |||
@@ -9,15 +9,15 @@ TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | |||
9 | ABIEXTENSION ?= "" | 9 | ABIEXTENSION ?= "" |
10 | 10 | ||
11 | TUNEVALID[m32] = "Power ELF32 standard ABI" | 11 | TUNEVALID[m32] = "Power ELF32 standard ABI" |
12 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "m32", " -m32", "", d)}" | 12 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', ' -m32', '', d)}" |
13 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "powerpc", "", d)}" | 13 | TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'powerpc', '', d)}" |
14 | 14 | ||
15 | TUNEVALID[fpu-hard] = "Use hardware FPU." | 15 | TUNEVALID[fpu-hard] = "Use hardware FPU." |
16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard", " -mhard-float", "", d)}" | 16 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard', ' -mhard-float', '', d)}" |
17 | 17 | ||
18 | TUNEVALID[fpu-soft] = "Use software FPU." | 18 | TUNEVALID[fpu-soft] = "Use software FPU." |
19 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", " -msoft-float", "", d)}" | 19 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', ' -msoft-float', '', d)}" |
20 | TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}" | 20 | TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', 'soft', '', d)}" |
21 | 21 | ||
22 | TUNEVALID[altivec] = "Altivec" | 22 | TUNEVALID[altivec] = "Altivec" |
23 | 23 | ||
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc64.inc b/meta/conf/machine/include/powerpc/arch-powerpc64.inc index 8476dec8a0..bfc107e7dc 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc64.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc64.inc | |||
@@ -4,8 +4,8 @@ require conf/machine/include/powerpc/arch-powerpc.inc | |||
4 | 4 | ||
5 | TUNEVALID[m64] = "Power ELF64 standard ABI" | 5 | TUNEVALID[m64] = "Power ELF64 standard ABI" |
6 | TUNECONFLICTS[m64] = "m32 nf" | 6 | TUNECONFLICTS[m64] = "m32 nf" |
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "m64", " -m64", "", d)}" | 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm64', ' -m64', '', d)}" |
8 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}" | 8 | TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', [ 'm64' ], 'powerpc64', '', d)}" |
9 | 9 | ||
10 | AVAILTUNES += "powerpc64" | 10 | AVAILTUNES += "powerpc64" |
11 | TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard" | 11 | TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard" |
diff --git a/meta/conf/machine/include/sh/arch-sh.inc b/meta/conf/machine/include/sh/arch-sh.inc index 64d4cac829..bdfbf52ca1 100644 --- a/meta/conf/machine/include/sh/arch-sh.inc +++ b/meta/conf/machine/include/sh/arch-sh.inc | |||
@@ -6,4 +6,4 @@ TUNE_ARCH = "${TUNE_ARCH_tune-${DEFAULTTUNE}}" | |||
6 | TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | 6 | TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" |
7 | 7 | ||
8 | TUNEVALID[bigendian] = "Enabled big-endian mode." | 8 | TUNEVALID[bigendian] = "Enabled big-endian mode." |
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mb", " -ml", d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', ' -mb', ' -ml', d)}" |
diff --git a/meta/conf/machine/include/tune-arm1136jf-s.inc b/meta/conf/machine/include/tune-arm1136jf-s.inc index 4a131b64c3..b750fe9d25 100644 --- a/meta/conf/machine/include/tune-arm1136jf-s.inc +++ b/meta/conf/machine/include/tune-arm1136jf-s.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv6" | |||
3 | require conf/machine/include/arm/arch-armv6.inc | 3 | require conf/machine/include/arm/arch-armv6.inc |
4 | 4 | ||
5 | TUNEVALID[arm1136jfs] = "Enable arm1136jfs specific processor optimizations" | 5 | TUNEVALID[arm1136jfs] = "Enable arm1136jfs specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "arm1136jfs", " -mtune=arm1136jf-s", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1136jfs', ' -mtune=arm1136jf-s', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "arm1136jfs" | 8 | AVAILTUNES += "arm1136jfs" |
9 | ARMPKGARCH_tune-arm1136jfs = "arm1136jfs" | 9 | ARMPKGARCH_tune-arm1136jfs = "arm1136jfs" |
diff --git a/meta/conf/machine/include/tune-arm920t.inc b/meta/conf/machine/include/tune-arm920t.inc index 0a2eae6cb8..5e6d4cbd91 100644 --- a/meta/conf/machine/include/tune-arm920t.inc +++ b/meta/conf/machine/include/tune-arm920t.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv4t" | |||
3 | require conf/machine/include/arm/arch-armv4.inc | 3 | require conf/machine/include/arm/arch-armv4.inc |
4 | 4 | ||
5 | TUNEVALID[arm920t] = "Enable arm920t specific processor optimizations" | 5 | TUNEVALID[arm920t] = "Enable arm920t specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "arm920t", " -mtune=arm920t", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm920t', ' -mtune=arm920t', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "arm920t" | 8 | AVAILTUNES += "arm920t" |
9 | ARMPKGARCH_tune-arm920t = "arm920t" | 9 | ARMPKGARCH_tune-arm920t = "arm920t" |
diff --git a/meta/conf/machine/include/tune-arm926ejs.inc b/meta/conf/machine/include/tune-arm926ejs.inc index 335e4e020d..e554941770 100644 --- a/meta/conf/machine/include/tune-arm926ejs.inc +++ b/meta/conf/machine/include/tune-arm926ejs.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv5te" | |||
3 | require conf/machine/include/arm/arch-armv5-dsp.inc | 3 | require conf/machine/include/arm/arch-armv5-dsp.inc |
4 | 4 | ||
5 | TUNEVALID[arm926ejs] = "Enable arm926ejs specific processor optimizations" | 5 | TUNEVALID[arm926ejs] = "Enable arm926ejs specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "arm926ejs", " -mtune=arm926ej-s", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm926ejs', ' -mtune=arm926ej-s', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "arm926ejs" | 8 | AVAILTUNES += "arm926ejs" |
9 | ARMPKGARCH_tune-arm926ejs = "arm926ejs" | 9 | ARMPKGARCH_tune-arm926ejs = "arm926ejs" |
diff --git a/meta/conf/machine/include/tune-arm9tdmi.inc b/meta/conf/machine/include/tune-arm9tdmi.inc index dee57c9858..ebac472c5b 100644 --- a/meta/conf/machine/include/tune-arm9tdmi.inc +++ b/meta/conf/machine/include/tune-arm9tdmi.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv4t" | |||
3 | require conf/machine/include/arm/arch-armv4.inc | 3 | require conf/machine/include/arm/arch-armv4.inc |
4 | 4 | ||
5 | TUNEVALID[arm9tdmi] = "Enable arm9tdmi specific processor optimizations" | 5 | TUNEVALID[arm9tdmi] = "Enable arm9tdmi specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "arm9tdmi", " -mtune=arm9tdmi", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm9tdmi', ' -mtune=arm9tdmi', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "arm9tdmi" | 8 | AVAILTUNES += "arm9tdmi" |
9 | ARMPKGARCH_tune-arm9tdmi = "arm9tdmi" | 9 | ARMPKGARCH_tune-arm9tdmi = "arm9tdmi" |
diff --git a/meta/conf/machine/include/tune-c3.inc b/meta/conf/machine/include/tune-c3.inc index fafc28ada0..1b272b2505 100644 --- a/meta/conf/machine/include/tune-c3.inc +++ b/meta/conf/machine/include/tune-c3.inc | |||
@@ -2,7 +2,7 @@ require conf/machine/include/x86/arch-x86.inc | |||
2 | 2 | ||
3 | TUNEVALID[c3] = "VIA Cyrix III or VIA C3 specific optimizations" | 3 | TUNEVALID[c3] = "VIA Cyrix III or VIA C3 specific optimizations" |
4 | TUNECONFLICTS[c3] = "m64 mx32" | 4 | TUNECONFLICTS[c3] = "m64 mx32" |
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "c3", " -march=c3 -mtune=c3", "", d)}" | 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'c3', ' -march=c3 -mtune=c3', '', d)}" |
6 | 6 | ||
7 | AVAILTUNES += "c3" | 7 | AVAILTUNES += "c3" |
8 | TUNE_FEATURES_tune-c3 = "${TUNE_FEATURES_tune-x86} c3" | 8 | TUNE_FEATURES_tune-c3 = "${TUNE_FEATURES_tune-x86} c3" |
diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc index 9a4cb7017a..f4ba43fbfd 100644 --- a/meta/conf/machine/include/tune-core2.inc +++ b/meta/conf/machine/include/tune-core2.inc | |||
@@ -16,7 +16,7 @@ require conf/machine/include/tune-i586.inc | |||
16 | 16 | ||
17 | # Extra tune features | 17 | # Extra tune features |
18 | TUNEVALID[core2] = "Enable core2 specific processor optimizations" | 18 | TUNEVALID[core2] = "Enable core2 specific processor optimizations" |
19 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -mtune=core2 -msse3 -mfpmath=sse", "", d)}" | 19 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'core2', ' -march=core2 -mtune=core2 -msse3 -mfpmath=sse', '', d)}" |
20 | 20 | ||
21 | # Extra tune selections | 21 | # Extra tune selections |
22 | AVAILTUNES += "core2-32" | 22 | AVAILTUNES += "core2-32" |
diff --git a/meta/conf/machine/include/tune-corei7.inc b/meta/conf/machine/include/tune-corei7.inc index 42cf93261c..d245d9fba3 100644 --- a/meta/conf/machine/include/tune-corei7.inc +++ b/meta/conf/machine/include/tune-corei7.inc | |||
@@ -13,7 +13,7 @@ require conf/machine/include/tune-core2.inc | |||
13 | 13 | ||
14 | # Extra tune features | 14 | # Extra tune features |
15 | TUNEVALID[corei7] = "Enable corei7 specific processor optimizations" | 15 | TUNEVALID[corei7] = "Enable corei7 specific processor optimizations" |
16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "corei7", " -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2", "", d)}" | 16 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'corei7', ' -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2', '', d)}" |
17 | 17 | ||
18 | # Extra tune selections | 18 | # Extra tune selections |
19 | AVAILTUNES += "corei7-32" | 19 | AVAILTUNES += "corei7-32" |
diff --git a/meta/conf/machine/include/tune-cortexa15.inc b/meta/conf/machine/include/tune-cortexa15.inc index 552977722f..802161a165 100644 --- a/meta/conf/machine/include/tune-cortexa15.inc +++ b/meta/conf/machine/include/tune-cortexa15.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv7a-neon" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations" | 5 | TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa15", " -mtune=cortex-a15", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa15', ' -mtune=cortex-a15', '', d)}" |
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon cortexa15t-neon" | 9 | AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon cortexa15t-neon" |
diff --git a/meta/conf/machine/include/tune-cortexa17.inc b/meta/conf/machine/include/tune-cortexa17.inc index bfc7126cbc..e4d69a097c 100644 --- a/meta/conf/machine/include/tune-cortexa17.inc +++ b/meta/conf/machine/include/tune-cortexa17.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv7a-neon" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexa17] = "Enable Cortex-A17 specific processor optimizations" | 5 | TUNEVALID[cortexa17] = "Enable Cortex-A17 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa17", " -mtune=cortex-a17", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa17', ' -mtune=cortex-a17', '', d)}" |
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa17 cortexa17t cortexa17-neon cortexa17t-neon" | 9 | AVAILTUNES += "cortexa17 cortexa17t cortexa17-neon cortexa17t-neon" |
diff --git a/meta/conf/machine/include/tune-cortexa5.inc b/meta/conf/machine/include/tune-cortexa5.inc index 139e65c828..c263dacb14 100644 --- a/meta/conf/machine/include/tune-cortexa5.inc +++ b/meta/conf/machine/include/tune-cortexa5.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv7a-neon" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexa5] = "Enable Cortex-A5 specific processor optimizations" | 5 | TUNEVALID[cortexa5] = "Enable Cortex-A5 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa5", " -mtune=cortex-a5", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa5', ' -mtune=cortex-a5', '', d)}" |
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa5 cortexa5t cortexa5-neon cortexa5t-neon" | 9 | AVAILTUNES += "cortexa5 cortexa5t cortexa5-neon cortexa5t-neon" |
diff --git a/meta/conf/machine/include/tune-cortexa7.inc b/meta/conf/machine/include/tune-cortexa7.inc index 9d069100f0..fa4d7221ba 100644 --- a/meta/conf/machine/include/tune-cortexa7.inc +++ b/meta/conf/machine/include/tune-cortexa7.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv7a-neon" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations" | 5 | TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", " -mtune=cortex-a7", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa7', ' -mtune=cortex-a7', '', d)}" |
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon cortexa7t-neon" | 9 | AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon cortexa7t-neon" |
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc index 771537ff84..5621a6bd24 100644 --- a/meta/conf/machine/include/tune-cortexa8.inc +++ b/meta/conf/machine/include/tune-cortexa8.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv7a-neon" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations" | 5 | TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", " -mtune=cortex-a8", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa8', ' -mtune=cortex-a8', '', d)}" |
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa8 cortexa8t cortexa8-neon cortexa8t-neon" | 9 | AVAILTUNES += "cortexa8 cortexa8t cortexa8-neon cortexa8t-neon" |
diff --git a/meta/conf/machine/include/tune-cortexa9.inc b/meta/conf/machine/include/tune-cortexa9.inc index 700394b824..9f45667f4f 100644 --- a/meta/conf/machine/include/tune-cortexa9.inc +++ b/meta/conf/machine/include/tune-cortexa9.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv7a-neon" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexa9] = "Enable Cortex-A9 specific processor optimizations" | 5 | TUNEVALID[cortexa9] = "Enable Cortex-A9 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", " -mtune=cortex-a9", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexa9', ' -mtune=cortex-a9', '', d)}" |
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon cortexa9t-neon" | 9 | AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon cortexa9t-neon" |
diff --git a/meta/conf/machine/include/tune-cortexm1.inc b/meta/conf/machine/include/tune-cortexm1.inc index 3b652796d2..794152a409 100644 --- a/meta/conf/machine/include/tune-cortexm1.inc +++ b/meta/conf/machine/include/tune-cortexm1.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv7a" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations" | 5 | TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexm1", " -mtune=cortex-m1", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm1', ' -mtune=cortex-m1', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "cortexm1" | 8 | AVAILTUNES += "cortexm1" |
9 | ARMPKGARCH_tune-cortexm1 = "cortexm1" | 9 | ARMPKGARCH_tune-cortexm1 = "cortexm1" |
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc index cbc4c0dd49..bf7f89e7e9 100644 --- a/meta/conf/machine/include/tune-cortexm3.inc +++ b/meta/conf/machine/include/tune-cortexm3.inc | |||
@@ -3,10 +3,10 @@ DEFAULTTUNE ?= "cortexm3" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations" | 5 | TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexm3", " -mtune=cortex-m3", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm3', ' -mtune=cortex-m3', '', d)}" |
7 | 7 | ||
8 | TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" | 8 | TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" |
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7m", " -march=armv7-m", "", d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}" |
10 | 10 | ||
11 | AVAILTUNES += "cortexm3" | 11 | AVAILTUNES += "cortexm3" |
12 | ARMPKGARCH_tune-cortexm3 = "armv7m" | 12 | ARMPKGARCH_tune-cortexm3 = "armv7m" |
diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc index bde649f090..a04573c574 100644 --- a/meta/conf/machine/include/tune-cortexr4.inc +++ b/meta/conf/machine/include/tune-cortexr4.inc | |||
@@ -3,10 +3,10 @@ DEFAULTTUNE ?= "cortexr4" | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | 3 | require conf/machine/include/arm/arch-armv7a.inc |
4 | 4 | ||
5 | TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations" | 5 | TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexr4", " -mtune=cortex-r4", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr4', ' -mtune=cortex-r4', '', d)}" |
7 | 7 | ||
8 | TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations" | 8 | TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations" |
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7r", " -march=armv7-r", "", d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7r', ' -march=armv7-r', '', d)}" |
10 | 10 | ||
11 | AVAILTUNES += "cortexr4" | 11 | AVAILTUNES += "cortexr4" |
12 | ARMPKGARCH_tune-cortexr4 = "armv7r" | 12 | ARMPKGARCH_tune-cortexr4 = "armv7r" |
diff --git a/meta/conf/machine/include/tune-ep9312.inc b/meta/conf/machine/include/tune-ep9312.inc index b19b438125..897b904cd1 100644 --- a/meta/conf/machine/include/tune-ep9312.inc +++ b/meta/conf/machine/include/tune-ep9312.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ep9312" | |||
3 | require conf/machine/include/arm/arch-armv4.inc | 3 | require conf/machine/include/arm/arch-armv4.inc |
4 | 4 | ||
5 | TUNEVALID[ep9312] = "Enable Intel PXA27x specific processor optimizations" | 5 | TUNEVALID[ep9312] = "Enable Intel PXA27x specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ep9312", " -march=ep9312 -mtune=ep9312", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', ' -march=ep9312 -mtune=ep9312', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ep9312" | 8 | AVAILTUNES += "ep9312" |
9 | ARMPKGARCH_tune-ep9312 = "ep9312" | 9 | ARMPKGARCH_tune-ep9312 = "ep9312" |
diff --git a/meta/conf/machine/include/tune-i586-nlp.inc b/meta/conf/machine/include/tune-i586-nlp.inc index e30602bd30..88e59038fa 100644 --- a/meta/conf/machine/include/tune-i586-nlp.inc +++ b/meta/conf/machine/include/tune-i586-nlp.inc | |||
@@ -9,7 +9,7 @@ require conf/machine/include/x86/arch-x86.inc | |||
9 | 9 | ||
10 | # x86 with no lock prefix | 10 | # x86 with no lock prefix |
11 | TUNEVALID[i586-nlp] = "IA32 with Lock Prefix omitted" | 11 | TUNEVALID[i586-nlp] = "IA32 with Lock Prefix omitted" |
12 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "i586-nlp", " -march=i586 -Wa,-momit-lock-prefix=yes", "", d)}" | 12 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'i586-nlp', ' -march=i586 -Wa,-momit-lock-prefix=yes', '', d)}" |
13 | 13 | ||
14 | # Quark tune feature | 14 | # Quark tune feature |
15 | AVAILTUNES = "i586-nlp-32" | 15 | AVAILTUNES = "i586-nlp-32" |
diff --git a/meta/conf/machine/include/tune-i586.inc b/meta/conf/machine/include/tune-i586.inc index 5fbb3c74d2..1ab17bd402 100644 --- a/meta/conf/machine/include/tune-i586.inc +++ b/meta/conf/machine/include/tune-i586.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/x86/arch-x86.inc | |||
4 | 4 | ||
5 | # Extra tune features | 5 | # Extra tune features |
6 | TUNEVALID[i586] = "Enable i586 specific processor optimizations" | 6 | TUNEVALID[i586] = "Enable i586 specific processor optimizations" |
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "i586", " -march=i586", "", d)}" | 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'i586', ' -march=i586', '', d)}" |
8 | 8 | ||
9 | # Extra tune selections | 9 | # Extra tune selections |
10 | AVAILTUNES += "i586" | 10 | AVAILTUNES += "i586" |
diff --git a/meta/conf/machine/include/tune-iwmmxt.inc b/meta/conf/machine/include/tune-iwmmxt.inc index 748ca0d0aa..15cce8d3c5 100644 --- a/meta/conf/machine/include/tune-iwmmxt.inc +++ b/meta/conf/machine/include/tune-iwmmxt.inc | |||
@@ -6,7 +6,7 @@ DEFAULTTUNE ?= "iwmmxt" | |||
6 | require conf/machine/include/arm/arch-armv5-dsp.inc | 6 | require conf/machine/include/arm/arch-armv5-dsp.inc |
7 | 7 | ||
8 | TUNEVALID[iwmmxt] = "Enable Intel PXA27x specific processor optimizations" | 8 | TUNEVALID[iwmmxt] = "Enable Intel PXA27x specific processor optimizations" |
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "iwmmxt", " -march=iwmmxt -mtune=iwmmxt", "", d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'iwmmxt', ' -march=iwmmxt -mtune=iwmmxt', '', d)}" |
10 | 10 | ||
11 | AVAILTUNES += "iwmmxt" | 11 | AVAILTUNES += "iwmmxt" |
12 | ARMPKGARCH_tune-iwmmxt = "iwmmxt" | 12 | ARMPKGARCH_tune-iwmmxt = "iwmmxt" |
diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc index ae326cedf3..ce0445f849 100644 --- a/meta/conf/machine/include/tune-mips32.inc +++ b/meta/conf/machine/include/tune-mips32.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/mips/arch-mips.inc | |||
4 | 4 | ||
5 | TUNEVALID[mips32] = "Enable mips32 specific processor optimizations" | 5 | TUNEVALID[mips32] = "Enable mips32 specific processor optimizations" |
6 | TUNECONFLICTS[mips32] = "n64 n32" | 6 | TUNECONFLICTS[mips32] = "n64 n32" |
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "mips32", " -march=mips32", "", d)}" | 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips32', ' -march=mips32', '', d)}" |
8 | 8 | ||
9 | AVAILTUNES += "mips32 mips32el mips32-nf mips32el-nf" | 9 | AVAILTUNES += "mips32 mips32el mips32-nf mips32el-nf" |
10 | 10 | ||
diff --git a/meta/conf/machine/include/tune-mips32r2.inc b/meta/conf/machine/include/tune-mips32r2.inc index c9deff84e2..0e95ec8522 100644 --- a/meta/conf/machine/include/tune-mips32r2.inc +++ b/meta/conf/machine/include/tune-mips32r2.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/tune-mips32.inc | |||
4 | 4 | ||
5 | TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations" | 5 | TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations" |
6 | TUNECONFLICTS[mips32r2] = "n64 n32" | 6 | TUNECONFLICTS[mips32r2] = "n64 n32" |
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "mips32r2", " -march=mips32r2", "", d)}" | 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips32r2', ' -march=mips32r2', '', d)}" |
8 | 8 | ||
9 | AVAILTUNES += "mips32r2 mips32r2el" | 9 | AVAILTUNES += "mips32r2 mips32r2el" |
10 | 10 | ||
diff --git a/meta/conf/machine/include/tune-octeon.inc b/meta/conf/machine/include/tune-octeon.inc index f24d9dbb54..b5deb8fd88 100644 --- a/meta/conf/machine/include/tune-octeon.inc +++ b/meta/conf/machine/include/tune-octeon.inc | |||
@@ -5,7 +5,7 @@ require conf/machine/include/tune-mips64.inc | |||
5 | AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64" | 5 | AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64" |
6 | 6 | ||
7 | TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" | 7 | TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" |
8 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon2", " -march=octeon2 ", "",d)}" | 8 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon2', ' -march=octeon2 ', '',d)}" |
9 | 9 | ||
10 | TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" | 10 | TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" |
11 | BASE_LIB_tune-octeon2 = "lib32" | 11 | BASE_LIB_tune-octeon2 = "lib32" |
@@ -19,7 +19,7 @@ PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64" | |||
19 | 19 | ||
20 | 20 | ||
21 | TUNEVALID[octeon3] = "Enable optimization related to octeon3 support" | 21 | TUNEVALID[octeon3] = "Enable optimization related to octeon3 support" |
22 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "octeon3", " -march=octeon3 ", "",d)}" | 22 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon3', ' -march=octeon3 ', '',d)}" |
23 | 23 | ||
24 | TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" | 24 | TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" |
25 | BASE_LIB_tune-octeon3 = "lib32" | 25 | BASE_LIB_tune-octeon3 = "lib32" |
diff --git a/meta/conf/machine/include/tune-power5.inc b/meta/conf/machine/include/tune-power5.inc index 30be86941a..a346c309a6 100644 --- a/meta/conf/machine/include/tune-power5.inc +++ b/meta/conf/machine/include/tune-power5.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppc64p5" | |||
3 | require conf/machine/include/powerpc/arch-powerpc64.inc | 3 | require conf/machine/include/powerpc/arch-powerpc64.inc |
4 | 4 | ||
5 | TUNEVALID[power5] = "Enable IBM Power5 specific processor optimizations" | 5 | TUNEVALID[power5] = "Enable IBM Power5 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "power5", " -mcpu=power5", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power5', ' -mcpu=power5', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppcp5 ppc64p5" | 8 | AVAILTUNES += "ppcp5 ppc64p5" |
9 | TUNE_FEATURES_tune-ppcp5 = "m32 fpu-hard power5 altivec" | 9 | TUNE_FEATURES_tune-ppcp5 = "m32 fpu-hard power5 altivec" |
@@ -17,5 +17,5 @@ TUNE_PKGARCH_tune-ppc64p5 = "ppc64p5" | |||
17 | PACKAGE_EXTRA_ARCHS_tune-ppc64p5 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p5" | 17 | PACKAGE_EXTRA_ARCHS_tune-ppc64p5 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p5" |
18 | 18 | ||
19 | # glibc configure options to get power5 specific library | 19 | # glibc configure options to get power5 specific library |
20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains("TUNE_FEATURES", "power5", "--with-cpu=power5", "", d)}" | 20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'power5', '--with-cpu=power5', '', d)}" |
21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains("TUNE_FEATURES", "power5", "--with-cpu=power5", "", d)}" | 21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains('TUNE_FEATURES', 'power5', '--with-cpu=power5', '', d)}" |
diff --git a/meta/conf/machine/include/tune-power6.inc b/meta/conf/machine/include/tune-power6.inc index 7563798120..ee200f97b9 100644 --- a/meta/conf/machine/include/tune-power6.inc +++ b/meta/conf/machine/include/tune-power6.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppcpr6" | |||
3 | require conf/machine/include/powerpc/arch-powerpc64.inc | 3 | require conf/machine/include/powerpc/arch-powerpc64.inc |
4 | 4 | ||
5 | TUNEVALID[power6] = "Enable IBM Power6 specific processor optimizations" | 5 | TUNEVALID[power6] = "Enable IBM Power6 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "power6", " -mcpu=power6", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power6', ' -mcpu=power6', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppcp6 ppc64p6" | 8 | AVAILTUNES += "ppcp6 ppc64p6" |
9 | TUNE_FEATURES_tune-ppcp6 = "m32 fpu-hard power6 altivec" | 9 | TUNE_FEATURES_tune-ppcp6 = "m32 fpu-hard power6 altivec" |
@@ -17,5 +17,5 @@ TUNE_PKGARCH_tune-ppc64p6 = "ppc64p6" | |||
17 | PACKAGE_EXTRA_ARCHS_tune-ppc64p6 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p6" | 17 | PACKAGE_EXTRA_ARCHS_tune-ppc64p6 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p6" |
18 | 18 | ||
19 | # glibc configure options to get power6 specific library | 19 | # glibc configure options to get power6 specific library |
20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains("TUNE_FEATURES", "power6", "--with-cpu=power6", "", d)}" | 20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'power6', '--with-cpu=power6', '', d)}" |
21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains("TUNE_FEATURES", "power6", "--with-cpu=power6", "", d)}" | 21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains('TUNE_FEATURES', 'power6', '--with-cpu=power6', '', d)}" |
diff --git a/meta/conf/machine/include/tune-power7.inc b/meta/conf/machine/include/tune-power7.inc index 7069e75026..3a27719be4 100644 --- a/meta/conf/machine/include/tune-power7.inc +++ b/meta/conf/machine/include/tune-power7.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppcpr7" | |||
3 | require conf/machine/include/powerpc/arch-powerpc64.inc | 3 | require conf/machine/include/powerpc/arch-powerpc64.inc |
4 | 4 | ||
5 | TUNEVALID[power7] = "Enable IBM Power7 specific processor optimizations" | 5 | TUNEVALID[power7] = "Enable IBM Power7 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "power7", " -mcpu=power7", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'power7', ' -mcpu=power7', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppcp7 ppc64p7" | 8 | AVAILTUNES += "ppcp7 ppc64p7" |
9 | TUNE_FEATURES_tune-ppcp7 = "m32 fpu-hard power7 altivec" | 9 | TUNE_FEATURES_tune-ppcp7 = "m32 fpu-hard power7 altivec" |
@@ -17,5 +17,5 @@ TUNE_PKGARCH_tune-ppc64p7 = "ppc64p7" | |||
17 | PACKAGE_EXTRA_ARCHS_tune-ppc64p7 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p7" | 17 | PACKAGE_EXTRA_ARCHS_tune-ppc64p7 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64p7" |
18 | 18 | ||
19 | # glibc configure options to get power7 specific library | 19 | # glibc configure options to get power7 specific library |
20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains("TUNE_FEATURES", "power7", "--with-cpu=power7", "", d)}" | 20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'power7', '--with-cpu=power7', '', d)}" |
21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains("TUNE_FEATURES", "power7", "--with-cpu=power7", "", d)}" | 21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains('TUNE_FEATURES', 'power7', '--with-cpu=power7', '', d)}" |
diff --git a/meta/conf/machine/include/tune-ppc476.inc b/meta/conf/machine/include/tune-ppc476.inc index 4ed185d2e2..d0011ff213 100644 --- a/meta/conf/machine/include/tune-ppc476.inc +++ b/meta/conf/machine/include/tune-ppc476.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppc476" | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | TUNEVALID[ppc476] = "Enable ppc476 specific processor optimizations" | 5 | TUNEVALID[ppc476] = "Enable ppc476 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppc476", " -mcpu=476", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc476', ' -mcpu=476', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppc476" | 8 | AVAILTUNES += "ppc476" |
9 | TUNE_FEATURES_tune-ppc476 = "m32 fpu-hard ppc476" | 9 | TUNE_FEATURES_tune-ppc476 = "m32 fpu-hard ppc476" |
@@ -11,4 +11,4 @@ TUNE_PKGARCH_tune-ppc476 = "ppc476" | |||
11 | PACKAGE_EXTRA_ARCHS_tune-ppc476 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc476" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppc476 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc476" |
12 | 12 | ||
13 | # glibc configure options to get 476 specific library (for sqrt) | 13 | # glibc configure options to get 476 specific library (for sqrt) |
14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc476", "-with-cpu=476", "", d)}" | 14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppc476', '-with-cpu=476', '', d)}" |
diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc index d744a0053f..13f60dd067 100644 --- a/meta/conf/machine/include/tune-ppc603e.inc +++ b/meta/conf/machine/include/tune-ppc603e.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppc603e" | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations" | 5 | TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", " -mcpu=603e", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', ' -mcpu=603e', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppc603e" | 8 | AVAILTUNES += "ppc603e" |
9 | TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e" | 9 | TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e" |
@@ -11,4 +11,4 @@ TUNE_PKGARCH_tune-ppc603e = "ppc603e" | |||
11 | PACKAGE_EXTRA_ARCHS_tune-ppc603e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc603e" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppc603e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc603e" |
12 | 12 | ||
13 | # glibc configure options to get 603e specific library (for sqrt) | 13 | # glibc configure options to get 603e specific library (for sqrt) |
14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-with-cpu=603e", "", d)}" | 14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', '-with-cpu=603e', '', d)}" |
diff --git a/meta/conf/machine/include/tune-ppc7400.inc b/meta/conf/machine/include/tune-ppc7400.inc index 4ac0403e1f..8bfda56c25 100644 --- a/meta/conf/machine/include/tune-ppc7400.inc +++ b/meta/conf/machine/include/tune-ppc7400.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppc7400" | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | TUNEVALID[ppc7400] = "Enable ppc7400 specific processor optimizations" | 5 | TUNEVALID[ppc7400] = "Enable ppc7400 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppc7400", " -mcpu=7400", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc7400', ' -mcpu=7400', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppc7400" | 8 | AVAILTUNES += "ppc7400" |
9 | TUNE_FEATURES_tune-ppc7400 = "m32 fpu-hard ppc7400 altivec" | 9 | TUNE_FEATURES_tune-ppc7400 = "m32 fpu-hard ppc7400 altivec" |
@@ -11,4 +11,4 @@ TUNE_PKGARCH_tune-ppc7400 = "ppc7400" | |||
11 | PACKAGE_EXTRA_ARCHS_tune-ppc7400 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc7400" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppc7400 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc7400" |
12 | 12 | ||
13 | # glibc configure options to get 7400 specific library (for sqrt) | 13 | # glibc configure options to get 7400 specific library (for sqrt) |
14 | #GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc7400", "--with-cpu=power4", "", d)}" | 14 | #GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppc7400', '--with-cpu=power4', '', d)}" |
diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc index 05a9505f74..af21f601a8 100644 --- a/meta/conf/machine/include/tune-ppce300c2.inc +++ b/meta/conf/machine/include/tune-ppce300c2.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppce300c2" | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | TUNEVALID[ppce300c2] = "Enable ppce300c2 specific processor optimizations" | 5 | TUNEVALID[ppce300c2] = "Enable ppce300c2 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", " -mcpu=e300c2", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c2', ' -mcpu=e300c2', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppce300c2" | 8 | AVAILTUNES += "ppce300c2" |
9 | TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2" | 9 | TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2" |
diff --git a/meta/conf/machine/include/tune-ppce300c3.inc b/meta/conf/machine/include/tune-ppce300c3.inc index b19cf220ba..a3d836c50c 100644 --- a/meta/conf/machine/include/tune-ppce300c3.inc +++ b/meta/conf/machine/include/tune-ppce300c3.inc | |||
@@ -9,15 +9,15 @@ TUNEVALID[ppce300c3] = "Enable ppce300c3 specific processor optimizations" | |||
9 | TUNE_FEATURES_tune-ppce300c3 = "${TUNE_FEATURES_tune-powerpc} ppce300c3" | 9 | TUNE_FEATURES_tune-ppce300c3 = "${TUNE_FEATURES_tune-powerpc} ppce300c3" |
10 | TUNE_PKGARCH_tune-ppce300c3 = "ppce300c3" | 10 | TUNE_PKGARCH_tune-ppce300c3 = "ppce300c3" |
11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce300c3" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce300c3" |
12 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3", " -mcpu=e300c3", "", d)}" | 12 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c3', ' -mcpu=e300c3', '', d)}" |
13 | 13 | ||
14 | # glibc config options to make use of e300c3 (603e) specific sqrt/sqrtf routines | 14 | # glibc config options to make use of e300c3 (603e) specific sqrt/sqrtf routines |
15 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3", "--with-cpu=e300c3", "", d)}" | 15 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c3', '--with-cpu=e300c3', '', d)}" |
16 | 16 | ||
17 | # soft-float | 17 | # soft-float |
18 | TUNEVALID[ppce300c3-nf] = "Enable ppce300c3 specific processor optimizations (no fpu)" | 18 | TUNEVALID[ppce300c3-nf] = "Enable ppce300c3 specific processor optimizations (no fpu)" |
19 | TUNE_FEATURES_tune-ppce300c3-nf = "${TUNE_FEATURES_tune-powerpc-nf} ppce300c3-nf" | 19 | TUNE_FEATURES_tune-ppce300c3-nf = "${TUNE_FEATURES_tune-powerpc-nf} ppce300c3-nf" |
20 | TUNE_PKGARCH_tune-ppce300c3-nf = "ppce300c3-nf" | 20 | TUNE_PKGARCH_tune-ppce300c3-nf = "ppce300c3-nf" |
21 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3-nf = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c3-nf" | 21 | PACKAGE_EXTRA_ARCHS_tune-ppce300c3-nf = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c3-nf" |
22 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce300c3-nf", " -mcpu=e300c3", "", d)}" | 22 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce300c3-nf', ' -mcpu=e300c3', '', d)}" |
23 | 23 | ||
diff --git a/meta/conf/machine/include/tune-ppce500.inc b/meta/conf/machine/include/tune-ppce500.inc index 70c1f8b253..96073d2d0b 100644 --- a/meta/conf/machine/include/tune-ppce500.inc +++ b/meta/conf/machine/include/tune-ppce500.inc | |||
@@ -3,15 +3,15 @@ DEFAULTTUNE ?= "ppce500" | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | TUNEVALID[ppce500] = "Enable ppce500 specific processor optimizations" | 5 | TUNEVALID[ppce500] = "Enable ppce500 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500", " -mcpu=8540", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce500', ' -mcpu=8540', '', d)}" |
7 | 7 | ||
8 | TUNEVALID[spe] = "Enable SPE ABI extensions" | 8 | TUNEVALID[spe] = "Enable SPE ABI extensions" |
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", [ "ppce500", "spe" ], " -mabi=spe -mspe -mfloat-gprs=single", "", d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', [ 'ppce500', 'spe' ], ' -mabi=spe -mspe -mfloat-gprs=single', '', d)}" |
10 | TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", [ "ppce500" , "spe" ], "ppc-efs", "", d)}" | 10 | TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', [ 'ppce500' , 'spe' ], 'ppc-efs', '', d)}" |
11 | 11 | ||
12 | # spe is defined potentially in two places, so we want to be sure it will | 12 | # spe is defined potentially in two places, so we want to be sure it will |
13 | # only write spe once to the ABIEXTENSIONS field. | 13 | # only write spe once to the ABIEXTENSIONS field. |
14 | SPEABIEXTENSION = "${@bb.utils.contains("TUNE_FEATURES", "spe", "spe", "", d)}" | 14 | SPEABIEXTENSION = "${@bb.utils.contains('TUNE_FEATURES', 'spe', 'spe', '', d)}" |
15 | ABIEXTENSION .= "${SPEABIEXTENSION}" | 15 | ABIEXTENSION .= "${SPEABIEXTENSION}" |
16 | 16 | ||
17 | AVAILTUNES += "ppce500" | 17 | AVAILTUNES += "ppce500" |
diff --git a/meta/conf/machine/include/tune-ppce500mc.inc b/meta/conf/machine/include/tune-ppce500mc.inc index 744d8e55e7..a1ca9be4f2 100644 --- a/meta/conf/machine/include/tune-ppce500mc.inc +++ b/meta/conf/machine/include/tune-ppce500mc.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppce500mc" | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | TUNEVALID[ppce500mc] = "Enable ppce500mc specific processor optimizations" | 5 | TUNEVALID[ppce500mc] = "Enable ppce500mc specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", " -mcpu=e500mc", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce500mc', ' -mcpu=e500mc', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppce500mc" | 8 | AVAILTUNES += "ppce500mc" |
9 | TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc" | 9 | TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc" |
@@ -11,4 +11,4 @@ TUNE_PKGARCH_tune-ppce500mc = "ppce500mc" | |||
11 | PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce500mc" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce500mc" |
12 | 12 | ||
13 | # glibc configure options to get e500mc specific library (for sqrt) | 13 | # glibc configure options to get e500mc specific library (for sqrt) |
14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}" | 14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'ppce500mc', '-with-cpu=e500mc', '', d)}" |
diff --git a/meta/conf/machine/include/tune-ppce500v2.inc b/meta/conf/machine/include/tune-ppce500v2.inc index d014d70a6e..20a5f25b62 100644 --- a/meta/conf/machine/include/tune-ppce500v2.inc +++ b/meta/conf/machine/include/tune-ppce500v2.inc | |||
@@ -3,15 +3,15 @@ DEFAULTTUNE ?= "ppce500v2" | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | 3 | require conf/machine/include/powerpc/arch-powerpc.inc |
4 | 4 | ||
5 | TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations" | 5 | TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", " -mcpu=8548", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppce500v2', ' -mcpu=8548', '', d)}" |
7 | 7 | ||
8 | TUNEVALID[spe] = "Enable SPE ABI extensions" | 8 | TUNEVALID[spe] = "Enable SPE ABI extensions" |
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", [ "ppce500v2", "spe" ], " -mabi=spe -mspe -mfloat-gprs=double", "", d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', [ 'ppce500v2', 'spe' ], ' -mabi=spe -mspe -mfloat-gprs=double', '', d)}" |
10 | TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", [ "ppce500v2" , "spe" ], "ppc-efd", "", d)}" | 10 | TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', [ 'ppce500v2' , 'spe' ], 'ppc-efd', '', d)}" |
11 | 11 | ||
12 | # spe is defined potentially in two places, so we want to be sure it will | 12 | # spe is defined potentially in two places, so we want to be sure it will |
13 | # only write spe once to the ABIEXTENSIONS field. | 13 | # only write spe once to the ABIEXTENSIONS field. |
14 | SPEABIEXTENSION = "${@bb.utils.contains("TUNE_FEATURES", "spe", "spe", "", d)}" | 14 | SPEABIEXTENSION = "${@bb.utils.contains('TUNE_FEATURES', 'spe', 'spe', '', d)}" |
15 | ABIEXTENSION .= "${SPEABIEXTENSION}" | 15 | ABIEXTENSION .= "${SPEABIEXTENSION}" |
16 | 16 | ||
17 | AVAILTUNES += "ppce500v2" | 17 | AVAILTUNES += "ppce500v2" |
diff --git a/meta/conf/machine/include/tune-ppce5500.inc b/meta/conf/machine/include/tune-ppce5500.inc index 25231ef4f2..ace26146a5 100644 --- a/meta/conf/machine/include/tune-ppce5500.inc +++ b/meta/conf/machine/include/tune-ppce5500.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppce5500" | |||
3 | require conf/machine/include/powerpc/arch-powerpc64.inc | 3 | require conf/machine/include/powerpc/arch-powerpc64.inc |
4 | 4 | ||
5 | TUNEVALID[e5500] = "Enable Freescale e5500 specific processor optimizations" | 5 | TUNEVALID[e5500] = "Enable Freescale e5500 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "e5500", " -mcpu=e5500", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'e5500', ' -mcpu=e5500', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppce5500 ppc64e5500" | 8 | AVAILTUNES += "ppce5500 ppc64e5500" |
9 | TUNE_FEATURES_tune-ppce5500 = "m32 fpu-hard e5500" | 9 | TUNE_FEATURES_tune-ppce5500 = "m32 fpu-hard e5500" |
@@ -17,4 +17,4 @@ TUNE_PKGARCH_tune-ppc64e5500 = "ppc64e5500" | |||
17 | PACKAGE_EXTRA_ARCHS_tune-ppc64e5500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e5500" | 17 | PACKAGE_EXTRA_ARCHS_tune-ppc64e5500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e5500" |
18 | 18 | ||
19 | # glibc configure options to get e5500 specific library (for sqrt) | 19 | # glibc configure options to get e5500 specific library (for sqrt) |
20 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "e5500", "--with-cpu=e5500", "", d)}" | 20 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'e5500', '--with-cpu=e5500', '', d)}" |
diff --git a/meta/conf/machine/include/tune-ppce6500.inc b/meta/conf/machine/include/tune-ppce6500.inc index ea743a3edc..da1e864e55 100644 --- a/meta/conf/machine/include/tune-ppce6500.inc +++ b/meta/conf/machine/include/tune-ppce6500.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppce6500" | |||
3 | require conf/machine/include/powerpc/arch-powerpc64.inc | 3 | require conf/machine/include/powerpc/arch-powerpc64.inc |
4 | 4 | ||
5 | TUNEVALID[e6500] = "Enable Freescale e6500 specific processor optimizations" | 5 | TUNEVALID[e6500] = "Enable Freescale e6500 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "e6500", " -mcpu=e6500", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'e6500', ' -mcpu=e6500', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "ppce6500 ppc64e6500" | 8 | AVAILTUNES += "ppce6500 ppc64e6500" |
9 | TUNE_FEATURES_tune-ppce6500 = "m32 fpu-hard e6500 altivec" | 9 | TUNE_FEATURES_tune-ppce6500 = "m32 fpu-hard e6500 altivec" |
@@ -17,5 +17,5 @@ TUNE_PKGARCH_tune-ppc64e6500 = "ppc64e6500" | |||
17 | PACKAGE_EXTRA_ARCHS_tune-ppc64e6500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e6500" | 17 | PACKAGE_EXTRA_ARCHS_tune-ppc64e6500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e6500" |
18 | 18 | ||
19 | # glibc configure options to get e6500 specific library | 19 | # glibc configure options to get e6500 specific library |
20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains("TUNE_FEATURES", "e6500", "--with-cpu=e6500", "", d)}" | 20 | GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains('TUNE_FEATURES', 'e6500', '--with-cpu=e6500', '', d)}" |
21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains("TUNE_FEATURES", "e6500", "--with-cpu=e6500", "", d)}" | 21 | GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains('TUNE_FEATURES', 'e6500', '--with-cpu=e6500', '', d)}" |
diff --git a/meta/conf/machine/include/tune-sh3.inc b/meta/conf/machine/include/tune-sh3.inc index c5ed7bab96..80df9a0b61 100644 --- a/meta/conf/machine/include/tune-sh3.inc +++ b/meta/conf/machine/include/tune-sh3.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "sh3" | |||
3 | require conf/machine/include/sh/arch-sh.inc | 3 | require conf/machine/include/sh/arch-sh.inc |
4 | 4 | ||
5 | TUNEVALID[sh3] = "Enable SH3 optimizations" | 5 | TUNEVALID[sh3] = "Enable SH3 optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "sh3", " -m3", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'sh3', ' -m3', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "sh3 sh3eb" | 8 | AVAILTUNES += "sh3 sh3eb" |
9 | TUNE_FEATURES_tune-sh3 = "sh3" | 9 | TUNE_FEATURES_tune-sh3 = "sh3" |
diff --git a/meta/conf/machine/include/tune-sh4.inc b/meta/conf/machine/include/tune-sh4.inc index 56e23b9369..4160c30e1a 100644 --- a/meta/conf/machine/include/tune-sh4.inc +++ b/meta/conf/machine/include/tune-sh4.inc | |||
@@ -4,13 +4,13 @@ DEFAULTTUNE ?= "sh4" | |||
4 | require conf/machine/include/sh/arch-sh.inc | 4 | require conf/machine/include/sh/arch-sh.inc |
5 | 5 | ||
6 | TUNEVALID[sh4] = "Enable SH4 optimizations" | 6 | TUNEVALID[sh4] = "Enable SH4 optimizations" |
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "sh4", " -m4", "", d)}" | 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'sh4', ' -m4', '', d)}" |
8 | 8 | ||
9 | # NOTE: If you want to optimize to sh4a, conf/machine/include/tune-sh4a.inc. | 9 | # NOTE: If you want to optimize to sh4a, conf/machine/include/tune-sh4a.inc. |
10 | # But it is not compatible for sh4. | 10 | # But it is not compatible for sh4. |
11 | # The binary optimized by m4a doesn't operate on sh4. It works on sh4a only. | 11 | # The binary optimized by m4a doesn't operate on sh4. It works on sh4a only. |
12 | TUNEVALID[sh4a] = "Enable SH4a optimizations" | 12 | TUNEVALID[sh4a] = "Enable SH4a optimizations" |
13 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "sh4a", " -m4a", "", d)}" | 13 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'sh4a', ' -m4a', '', d)}" |
14 | 14 | ||
15 | AVAILTUNES += "sh4 sh4eb sh4a sh4aeb" | 15 | AVAILTUNES += "sh4 sh4eb sh4a sh4aeb" |
16 | TUNE_FEATURES_tune-sh4 = "sh4" | 16 | TUNE_FEATURES_tune-sh4 = "sh4" |
diff --git a/meta/conf/machine/include/tune-strongarm1100.inc b/meta/conf/machine/include/tune-strongarm1100.inc index ea2fba89fe..7b2fa8e3ab 100644 --- a/meta/conf/machine/include/tune-strongarm1100.inc +++ b/meta/conf/machine/include/tune-strongarm1100.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv4" | |||
3 | require conf/machine/include/arm/arch-armv4.inc | 3 | require conf/machine/include/arm/arch-armv4.inc |
4 | 4 | ||
5 | TUNEVALID[strongarm] = "Enable Strongarm 1100 series processor optimizations" | 5 | TUNEVALID[strongarm] = "Enable Strongarm 1100 series processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "strongarm", " -mtune=strongarm1100", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'strongarm', ' -mtune=strongarm1100', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "strongarm" | 8 | AVAILTUNES += "strongarm" |
9 | ARMPKGARCH_tune-strongarm = "strongarm" | 9 | ARMPKGARCH_tune-strongarm = "strongarm" |
diff --git a/meta/conf/machine/include/tune-thunderx.inc b/meta/conf/machine/include/tune-thunderx.inc index 40de61dc2e..4888d0c19a 100644 --- a/meta/conf/machine/include/tune-thunderx.inc +++ b/meta/conf/machine/include/tune-thunderx.inc | |||
@@ -5,7 +5,7 @@ AVAILTUNES += "thunderx thunderx_be" | |||
5 | 5 | ||
6 | TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX" | 6 | TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX" |
7 | 7 | ||
8 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "thunderx", " -mcpu=thunderx ", "",d)}" | 8 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunderx ', '',d)}" |
9 | 9 | ||
10 | ARMPKGARCH_tune-thunderx ?= "thunderx" | 10 | ARMPKGARCH_tune-thunderx ?= "thunderx" |
11 | ARMPKGARCH_tune-thunderx_be ?= "thunderx_be" | 11 | ARMPKGARCH_tune-thunderx_be ?= "thunderx_be" |
diff --git a/meta/conf/machine/include/tune-xscale.inc b/meta/conf/machine/include/tune-xscale.inc index 0c5ca8d171..2a0610fddf 100644 --- a/meta/conf/machine/include/tune-xscale.inc +++ b/meta/conf/machine/include/tune-xscale.inc | |||
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "armv5te" | |||
3 | require conf/machine/include/arm/arch-armv5-dsp.inc | 3 | require conf/machine/include/arm/arch-armv5-dsp.inc |
4 | 4 | ||
5 | TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations" | 5 | TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "xscale", " -mtune=xscale", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'xscale', ' -mtune=xscale', '', d)}" |
7 | 7 | ||
8 | AVAILTUNES += "xscale" | 8 | AVAILTUNES += "xscale" |
9 | ARMPKGARCH_tune-xscale = "xscale" | 9 | ARMPKGARCH_tune-xscale = "xscale" |
diff --git a/meta/conf/machine/include/x86/arch-x86.inc b/meta/conf/machine/include/x86/arch-x86.inc index 298bddc6a1..400da1a39f 100644 --- a/meta/conf/machine/include/x86/arch-x86.inc +++ b/meta/conf/machine/include/x86/arch-x86.inc | |||
@@ -12,24 +12,24 @@ TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | |||
12 | # ELF32 ABI | 12 | # ELF32 ABI |
13 | TUNEVALID[m32] = "IA32 ELF32 standard ABI" | 13 | TUNEVALID[m32] = "IA32 ELF32 standard ABI" |
14 | TUNECONFLICTS[m32] = "m64 mx32" | 14 | TUNECONFLICTS[m32] = "m64 mx32" |
15 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "${X86ARCH32}", "" ,d)}" | 15 | TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', '${X86ARCH32}', '' ,d)}" |
16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "m32", " -m32", "", d)}" | 16 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm32', ' -m32', '', d)}" |
17 | MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "m32", "x86:", "" ,d)}" | 17 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '' ,d)}" |
18 | 18 | ||
19 | # x32 ABI | 19 | # x32 ABI |
20 | TUNEVALID[mx32] = "IA32e (x86_64) ELF32 standard ABI" | 20 | TUNEVALID[mx32] = "IA32e (x86_64) ELF32 standard ABI" |
21 | TUNECONFLICTS[mx32] = "m64 m32" | 21 | TUNECONFLICTS[mx32] = "m64 m32" |
22 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "mx32", "${X86ARCH64}", "" ,d)}" | 22 | TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '${X86ARCH64}', '' ,d)}" |
23 | ABIEXTENSION .= "${@bb.utils.contains("TUNE_FEATURES", "mx32", "x32", "" ,d)}" | 23 | ABIEXTENSION .= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x32', '' ,d)}" |
24 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "mx32", " -mx32", "", d)}" | 24 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', ' -mx32', '', d)}" |
25 | TUNE_LDARGS += "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-m elf32_x86_64", "", d)}" | 25 | TUNE_LDARGS += "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '-m elf32_x86_64', '', d)}" |
26 | TUNE_ASARGS += "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-x32", "", d)}" | 26 | TUNE_ASARGS += "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '-x32', '', d)}" |
27 | 27 | ||
28 | # ELF64 ABI | 28 | # ELF64 ABI |
29 | TUNEVALID[m64] = "IA32e (x86_64) ELF64 standard ABI" | 29 | TUNEVALID[m64] = "IA32e (x86_64) ELF64 standard ABI" |
30 | TUNECONFLICTS[m64] = "m32 mx32" | 30 | TUNECONFLICTS[m64] = "m32 mx32" |
31 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m64", "${X86ARCH64}", "" ,d)}" | 31 | TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'm64', '${X86ARCH64}', '' ,d)}" |
32 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "m64", " -m64", "", d)}" | 32 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm64', ' -m64', '', d)}" |
33 | 33 | ||
34 | # Default Tune configurations | 34 | # Default Tune configurations |
35 | AVAILTUNES += "x86" | 35 | AVAILTUNES += "x86" |