t-rtems revision 256281
10SN/A# Multilibs for powerpc RTEMS targets.
22362SN/A
30SN/AMULTILIB_OPTIONS	= \
40SN/Amcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \
50SN/ADmpc8260 \
60SN/Amsoft-float
72362SN/A
80SN/AMULTILIB_DIRNAMES	= \
92362SN/Am403 m505 m601 m603e m604 m860 m7400 \
100SN/Ampc8260 \
110SN/Anof
120SN/A
130SN/AMULTILIB_EXTRA_OPTS	= mrelocatable-lib mno-eabi mstrict-align
140SN/A
150SN/A# MULTILIB_MATCHES	= ${MULTILIB_MATCHES_FLOAT}
160SN/AMULTILIB_MATCHES	=
170SN/AMULTILIB_MATCHES  	+= ${MULTILIB_MATCHES_ENDIAN}
180SN/AMULTILIB_MATCHES	+= ${MULTILIB_MATCHES_SYSV}
190SN/A# Map 405 to 403
200SN/AMULTILIB_MATCHES	+= mcpu?403=mcpu?405
212362SN/A# Map 602, 603e, 603 to 603e
222362SN/AMULTILIB_MATCHES	+= mcpu?603e=mcpu?602
232362SN/AMULTILIB_MATCHES	+= mcpu?603e=mcpu?603
240SN/A# Map 801, 821, 823 to 860
250SN/AMULTILIB_MATCHES 	+= mcpu?860=mcpu?801
2614176SchegarMULTILIB_MATCHES 	+= mcpu?860=mcpu?821
270SN/AMULTILIB_MATCHES 	+= mcpu?860=mcpu?823
280SN/A# Map 7450 to 7400
290SN/AMULTILIB_MATCHES	+= mcpu?7400=mcpu?7450
300SN/A
310SN/A# Map 750 to .
320SN/AMULTILIB_MATCHES	+= mcpu?750=
330SN/A
340SN/A# Soft-float only, default implies msoft-float
350SN/A# NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
3610608SN/AMULTILIB_SOFTFLOAT_ONLY = \
370SN/A*mcpu=401/*msoft-float* \
380SN/A*mcpu=403/*msoft-float* \
390SN/A*mcpu=405/*msoft-float* \
400SN/A*mcpu=801/*msoft-float* \
410SN/A*mcpu=821/*msoft-float* \
420SN/A*mcpu=823/*msoft-float* \
430SN/A*mcpu=860/*msoft-float*
440SN/A
450SN/A# Hard-float only, take out msoft-float
460SN/AMULTILIB_HARDFLOAT_ONLY = \
470SN/A*mcpu=505/*msoft-float*
480SN/A
490SN/AMULTILIB_EXCEPTIONS =
500SN/A
510SN/A# Disallow -Dppc and -Dmpc without other options
520SN/AMULTILIB_EXCEPTIONS 	+= Dppc* Dmpc*
530SN/A
540SN/AMULTILIB_EXCEPTIONS	+= \
550SN/A${MULTILIB_SOFTFLOAT_ONLY} \
560SN/A${MULTILIB_HARDFLOAT_ONLY}
570SN/A
580SN/A# Special rules
590SN/A# Take out all variants we don't want
600SN/AMULTILIB_EXCEPTIONS += *mcpu=403/Dmpc*
610SN/AMULTILIB_EXCEPTIONS += *mcpu=505/Dmpc*
620SN/AMULTILIB_EXCEPTIONS += *mcpu=601/Dmpc*
630SN/AMULTILIB_EXCEPTIONS += *mcpu=604/Dmpc*
640SN/AMULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
650SN/AMULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
660SN/AMULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
670SN/A