Teach configfsf.guess about coldfire and earm
This commit is contained in:
parent
3a6f0f67e4
commit
866279dbba
|
@ -158,14 +158,28 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||
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 \
|
||||
|
|
Loading…
Reference in New Issue