1 # Multilibs for powerpc RTEMS targets.
4 mcpu=403/mcpu=505/mcpu=601/mcpu=602/mcpu=603/mcpu=603e/mcpu=604/mcpu=750/mcpu=821/mcpu=860 \
10 m403 m505 m601 m602 m603 m603e m604 m750 m821 m860 \
16 MULTILIB_EXTRA_OPTS = mrelocatable-lib mno-eabi mstrict-align
18 # MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT}
19 MULTILIB_MATCHES = ${MULTILIB_MATCHES_ENDIAN} \
20 ${MULTILIB_MATCHES_SYSV} \
21 mcpu?505/Dmpc505=mcpu?505/Dmpc509
24 # RTEMS old/new-exceptions handling
26 # old-exception processing is depredicated, therefore
28 # * Cpu-variants supporting new exception processing are build
29 # with new exception processing only
30 # * Cpu-variants not having been ported to new exception processing are
31 # build with old and new exception processing
34 # Cpu-variants supporting new exception processing only
35 MULTILIB_NEW_EXCEPTIONS_ONLY = \
36 *mcpu=505*/*D_OLD_EXCEPTIONS* \
37 *mcpu=604*/*D_OLD_EXCEPTIONS* \
38 *mcpu=750*/*D_OLD_EXCEPTIONS* \
39 *mcpu=821*/*D_OLD_EXCEPTIONS* \
40 *Dmpc8260*/*D_OLD_EXCEPTIONS* \
41 *mcpu=860*/*D_OLD_EXCEPTIONS*
43 # Soft-float only, default implies msoft-float
44 # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
45 MULTILIB_SOFTFLOAT_ONLY = \
46 mcpu=403/*msoft-float* \
47 mcpu=821/*msoft-float* \
48 mcpu=860/*msoft-float*
50 # Hard-float only, take out msoft-float
51 MULTILIB_HARDFLOAT_ONLY = \
52 mcpu=505/*msoft-float*
56 # Disallow -D_OLD_EXCEPTIONS without other options
57 MULTILIB_EXCEPTIONS += D_OLD_EXCEPTIONS*
59 # Disallow -Dppc and -Dmpc without other options
60 MULTILIB_EXCEPTIONS += Dppc* Dmpc*
62 MULTILIB_EXCEPTIONS += \
63 ${MULTILIB_NEW_EXCEPTIONS_ONLY} \
64 ${MULTILIB_SOFTFLOAT_ONLY} \
65 ${MULTILIB_HARDFLOAT_ONLY}
68 # Take out all variants we don't want
69 MULTILIB_EXCEPTIONS += mcpu=403/Dmpc509*
70 MULTILIB_EXCEPTIONS += mcpu=403/Dmpc8260*
71 MULTILIB_EXCEPTIONS += mcpu=505/Dmpc509*
72 MULTILIB_EXCEPTIONS += mcpu=505/Dmpc8260*
73 MULTILIB_EXCEPTIONS += mcpu=601/Dmpc509*
74 MULTILIB_EXCEPTIONS += mcpu=601/Dmpc8260*
75 MULTILIB_EXCEPTIONS += mcpu=602/Dmpc509*
76 MULTILIB_EXCEPTIONS += mcpu=602/Dmpc8260*
77 MULTILIB_EXCEPTIONS += mcpu=603/Dmpc509*
78 MULTILIB_EXCEPTIONS += mcpu=603/Dmpc8260*
79 MULTILIB_EXCEPTIONS += mcpu=603e/Dmpc509*
80 MULTILIB_EXCEPTIONS += mcpu=604/Dmpc509*
81 MULTILIB_EXCEPTIONS += mcpu=604/Dmpc8260*
82 MULTILIB_EXCEPTIONS += mcpu=750/Dmpc509*
83 MULTILIB_EXCEPTIONS += mcpu=750/Dmpc8260*
84 MULTILIB_EXCEPTIONS += mcpu=821/Dmpc509*
85 MULTILIB_EXCEPTIONS += mcpu=821/Dmpc8260*
86 MULTILIB_EXCEPTIONS += mcpu=860/Dmpc509*
87 MULTILIB_EXCEPTIONS += mcpu=860/Dmpc8260*