Merge pull request #4023 from MilhouseVH/le10_eabihf

config/arm: use eabihf for hard float
This commit is contained in:
Christian Hewitt 2020-01-08 19:04:51 +04:00 committed by GitHub
commit d3323bb577
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -49,6 +49,10 @@
;; ;;
esac esac
if [ "${TARGET_FLOAT}" = "hard" ]; then
TARGET_ABI+="hf"
fi
TARGET_VARIANT="${TARGET_SUBARCH}${TARGET_CPU_FLAGS}" TARGET_VARIANT="${TARGET_SUBARCH}${TARGET_CPU_FLAGS}"
TARGET_GCC_ARCH=${TARGET_SUBARCH/-} TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm} TARGET_KERNEL_ARCH=${TARGET_KERNEL_ARCH:-arm}

View File

@ -18,11 +18,11 @@ pre_configure_target() {
case ${TARGET_ARCH} in case ${TARGET_ARCH} in
aarch64) aarch64)
GPGERROR_TUPLE=aarch64-unknown-linux-gnu GPGERROR_TUPLE=aarch64-unknown-linux-gnu
GPGERROR_TARGET=linux-gnueabi GPGERROR_TARGET=linux-gnu${TARGET_ABI}
;; ;;
arm) arm)
GPGERROR_TUPLE=arm-unknown-linux-gnueabi GPGERROR_TUPLE=arm-unknown-linux-gnueabi
GPGERROR_TARGET=linux-gnueabi GPGERROR_TARGET=linux-gnu${TARGET_ABI}
;; ;;
x86_64) x86_64)
GPGERROR_TUPLE=x86_64-unknown-linux-gnu GPGERROR_TUPLE=x86_64-unknown-linux-gnu