mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 22:44:59 -04:00
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
$NetBSD$
|
|
|
|
--- config.guess.orig Tue Mar 23 14:26:40 2010
|
|
+++ config.guess
|
|
@@ -160,14 +160,28 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE
|
|
case "${UNAME_MACHINE_ARCH}" in
|
|
armeb) machine=armeb-unknown ;;
|
|
arm*) machine=arm-unknown ;;
|
|
+ coldfire) machine=m5407-unknown ;;
|
|
+ earm*eb*) machine=armeb-unknown ;;
|
|
+ earm*) machine=arm-unknown ;;
|
|
sh3el) machine=shl-unknown ;;
|
|
sh3eb) machine=sh-unknown ;;
|
|
sh5el) machine=sh5le-unknown ;;
|
|
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
|
esac
|
|
# The Operating System including object format, if it has switched
|
|
- # to ELF recently, or will in the future.
|
|
+ # to ELF recently, or will in the future and ABI.
|
|
case "${UNAME_MACHINE_ARCH}" in
|
|
+ coldfire) os=netbsdelf ;;
|
|
+ earm*)
|
|
+ eval $set_cc_for_build
|
|
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
+ | grep -q __ARM_PCS_VFP
|
|
+ then
|
|
+ os=netbsdelf-eabi
|
|
+ else
|
|
+ os=netbsdelf-eabihf
|
|
+ fi
|
|
+ ;;
|
|
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
|
eval $set_cc_for_build
|
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
@@ -966,6 +980,9 @@ EOF
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
exit ;;
|
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
+ exit ;;
|
|
+ tile*:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
exit ;;
|
|
vax:Linux:*:*)
|