forked from Imagelibrary/rtems
Modified to rezongize CPU-rtemsXYZ rather than just CPU-rtems.
This commit is contained in:
24
config.sub
vendored
24
config.sub
vendored
@@ -156,20 +156,26 @@ case $basic_machine in
|
|||||||
| powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \
|
| powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \
|
||||||
| pdp11 | mips64el | mips64orion | mips64orionel \
|
| pdp11 | mips64el | mips64orion | mips64orionel \
|
||||||
| sparc | sparclet | sparclite | sparc64 | no_cpu)
|
| sparc | sparclet | sparclite | sparc64 | no_cpu)
|
||||||
if [ $os != -rtems ]
|
case $os in
|
||||||
then
|
-rtems*)
|
||||||
basic_machine=$basic_machine-unknown
|
;;
|
||||||
fi
|
*)
|
||||||
|
basic_machine=$basic_machine-unknown
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
# (2) the word "unknown" tends to confuse beginning users.
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
i[3456]86)
|
i[3456]86)
|
||||||
if [ $os != -rtems ]
|
case $os in
|
||||||
then
|
-rtems*)
|
||||||
basic_machine=$basic_machine-pc
|
;;
|
||||||
fi
|
*)
|
||||||
;;
|
basic_machine=$basic_machine-pc
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
# Object if more than one company name word.
|
# Object if more than one company name word.
|
||||||
*-*-*)
|
*-*-*)
|
||||||
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
||||||
|
|||||||
Reference in New Issue
Block a user