[Buildroot] [Bug 6842] Checking external toolchain for eabihf

bugzilla at busybox.net bugzilla at busybox.net
Fri Feb 7 08:30:47 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=6842

--- Comment #1 from Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> 2014-02-07 08:30:47 UTC ---
Thomas Petazzoni, could you shine your light on this patch?
Copy/pasted here for convenience:

diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index faa9d90..c41d757 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -284,8 +284,8 @@ check_arm_abi = \
         echo "External toolchain uses the unsuported OABI" ; \
         exit 1 ; \
     fi ; \
-    EXT_TOOLCHAIN_CRT1=`LANG=C $${__CROSS_CC} -print-file-name=crt1.o` ; \
-    if $${__CROSS_READELF} -A $${EXT_TOOLCHAIN_CRT1} | grep -q
"Tag_ABI_VFP_args:" ; then \
+    EXT_TOOLCHAIN_LIBM=`LANG=C $${__CROSS_CC} -print-file-name=libm.so` ; \
+    if $${__CROSS_READELF} -A $${EXT_TOOLCHAIN_LIBM} | grep -q
"Tag_ABI_VFP_args:" ; then \
         EXT_TOOLCHAIN_ABI="eabihf" ; \
     else \
         EXT_TOOLCHAIN_ABI="eabi" ; \

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the buildroot mailing list