diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-03-31 07:48:29 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-03-31 07:53:37 -0700 |
commit | 888c1f3a2e103793bc03488d2051ee4683f7516a (patch) | |
tree | a13e347b2d1e3fcbe3fc347c354f69b4b25c557f /conf/machine/include | |
parent | 61eeeec1224c4f974f9185c2b93eeb19d13938af (diff) | |
download | openembedded-888c1f3a2e103793bc03488d2051ee4683f7516a.tar.gz |
conf/,gcc-common.inc: Add support for ARM hard float toolchain
Rename ARM_FP_MODE to ARM_FP_ABI
Set target fpu to hard for hardfp ARMv7
Use machine override to add base package arch instead of appending to
OVERRIDES directly
Pass --with-float option to gcc configure taking into account
what float ABI is selected through ARM_FP_ABI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/machine/include')
-rw-r--r-- | conf/machine/include/tune-cortexa8.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/machine/include/tune-cortexa8.inc b/conf/machine/include/tune-cortexa8.inc index 2ac0ebfe45..5f556e0514 100644 --- a/conf/machine/include/tune-cortexa8.inc +++ b/conf/machine/include/tune-cortexa8.inc @@ -4,10 +4,10 @@ # [3] https://support.codesourcery.com/GNUToolchain/kbentry29 # Can be 'softfp' or 'hardfp' -ARM_FP_MODE ?= "softfp" +ARM_FP_ABI ?= "softfp" -ARM_FP_OPT = "${@['-mfloat-abi=softfp', '-mfloat-abi=hard'][bb.data.getVar('ARM_FP_MODE', d, 1) == 'hardfp']}" -ARM_FP_PACKAGESUFFIX = "${@['', '-hardfp'][bb.data.getVar('ARM_FP_MODE', d, 1) == 'hardfp']}" +ARM_FP_OPT = "${@['-mfloat-abi=softfp', '-mfloat-abi=hard'][bb.data.getVar('ARM_FP_ABI', d, 1) == 'hardfp']}" +ARM_FP_PACKAGESUFFIX = "${@['', '-hardfp'][bb.data.getVar('ARM_FP_ABI', d, 1) == 'hardfp']}" TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon ${ARM_FP_OPT}" |