diff options
Diffstat (limited to 'meta/conf/machine/include/arm/arch-armv4.inc')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv4.inc | 10 |
1 files changed, 5 insertions, 5 deletions
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 |