summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-07-13 22:27:32 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-07-14 20:18:13 (GMT)
commit95bfc99fb1b1c2b50b2b4bb8e6bbf6fa22c8abe7 (patch)
treee11d3980377da8f8cf3f9c1492e6708a59ce6188
parentb6a9829ebec9b32463e68c9f18cea60d04a5451e (diff)
downloadbuildroot-95bfc99fb1b1c2b50b2b4bb8e6bbf6fa22c8abe7.tar.gz
buildroot-95bfc99fb1b1c2b50b2b4bb8e6bbf6fa22c8abe7.tar.bz2
toolchain/helpers: only check for an EABI toolchain
... since we only support EABI now. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/helpers.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index 0398b63..95217e7 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -280,13 +280,8 @@ check_uclibc = \
check_arm_abi = \
__CROSS_CC=$(strip $1) ; \
EXT_TOOLCHAIN_TARGET=`LANG=C $${__CROSS_CC} -v 2>&1 | grep ^Target | cut -f2 -d ' '` ; \
- if echo $${EXT_TOOLCHAIN_TARGET} | grep -qE 'eabi(hf)?$$' ; then \
- EXT_TOOLCHAIN_ABI="eabi" ; \
- else \
- EXT_TOOLCHAIN_ABI="oabi" ; \
- fi ; \
- if [ x$(BR2_ARM_EABI) = x"y" -a $${EXT_TOOLCHAIN_ABI} = "oabi" ] ; then \
- echo "Incorrect ABI setting" ; \
+ if ! echo $${EXT_TOOLCHAIN_TARGET} | grep -qE 'eabi(hf)?$$' ; then \
+ echo "External toolchain uses the unsuported OABI" ; \
exit 1 ; \
fi