diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-01-10 00:11:17 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-01-10 00:11:17 +0100 |
commit | c1d673203d26c11eb8b9faa644658fe52f061f98 (patch) | |
tree | 14334538b8efcfe9f1f31102a13c9e255925213a /scripts/build/arch/arm.sh | |
parent | 6f1ab57e80aebc9450be7caeeb967cbfda1abd24 (diff) | |
download | crosstool-ng-c1d673203d26c11eb8b9faa644658fe52f061f98.tar.gz crosstool-ng-c1d673203d26c11eb8b9faa644658fe52f061f98.tar.bz2 crosstool-ng-c1d673203d26c11eb8b9faa644658fe52f061f98.zip |
arch/arm: add option to use *eabihf tuples
Toolchains that use the hard-float ABI now are to be denoted by a tuple
ending in *eabihf, while the prevbious *eabi is now an indication that
the toolchain uses the softfloat ABI.
This is purely a cosmetic thing, for distros to differentiate their
hardfloat-ABI ports from their softfloat-ABI ports.
(note: softfloat ABI does not mean that it is using softfloats; it can
be using hardfloat instructions, but using the softfloat ABI).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts/build/arch/arm.sh')
-rw-r--r-- | scripts/build/arch/arm.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/arch/arm.sh b/scripts/build/arch/arm.sh index 5efb5dbd..2c9be91e 100644 --- a/scripts/build/arch/arm.sh +++ b/scripts/build/arch/arm.sh @@ -24,4 +24,8 @@ CT_DoArchTupleValues() { if [ "${CT_ARCH_ARM_INTERWORKING}" = "y" ]; then CT_ARCH_TARGET_CFLAGS+=" -mthumb-interwork" fi + + if [ "${CT_ARCH_ARM_TUPLE_USE_EABIHF}" = "y" ]; then + CT_TARGET_SYS="${CT_TARGET_SYS}hf" + fi } |