2018-07-15 6:45 GMT+02:00 Ben Elliston <[email protected]>:
> On Sat, Jul 14, 2018 at 06:30:44PM +0200, Mikaël Urankar wrote:
>
> > Another ping.
> > This patch is a month old now, can I have a review please?
>
> I must have missed this, sorry. There have been quite a few changes
> (more than usual) to config.guess in the past few weeks. Can you
> please re-base your patch and post it again?
>
Here it is. (and also available at
http://mikael.urankar.free.fr/FreeBSD/config.diff)
Thanks.
diff --git a/config.guess b/config.guess
index ced991e..815b26e 100755
--- a/config.guess
+++ b/config.guess
@@ -843,6 +843,17 @@ EOF
*:BSD/OS:*:*)
echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
exit ;;
+ arm*:FreeBSD:*:*)
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ eval $set_cc_for_build
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_PCS_VFP
+ then
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnueabi
+ else
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnueabihf
+ fi
+ exit ;;
*:FreeBSD:*:*)
UNAME_PROCESSOR=`/usr/bin/uname -p`
case "$UNAME_PROCESSOR" in
_______________________________________________
config-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/config-patches