t-rtems revision 146895
1# Multilibs for powerpc RTEMS targets. 2 3MULTILIB_OPTIONS = \ 4mcpu=403/mcpu=505/mcpu=601/mcpu=602/mcpu=603/mcpu=603e/mcpu=604/mcpu=750/mcpu=821/mcpu=860 \ 5Dmpc509/Dmpc8260 \ 6D_OLD_EXCEPTIONS \ 7msoft-float 8 9MULTILIB_DIRNAMES = \ 10m403 m505 m601 m602 m603 m603e m604 m750 m821 m860 \ 11mpc509 \ 12mpc8260 \ 13roe \ 14nof 15 16MULTILIB_EXTRA_OPTS = mrelocatable-lib mno-eabi mstrict-align 17 18# MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} 19MULTILIB_MATCHES = ${MULTILIB_MATCHES_ENDIAN} \ 20 ${MULTILIB_MATCHES_SYSV} \ 21 mcpu?505/Dmpc505=mcpu?505/Dmpc509 22 23# 24# RTEMS old/new-exceptions handling 25# 26# old-exception processing is depredicated, therefore 27# 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 32# 33 34# Cpu-variants supporting new exception processing only 35MULTILIB_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* 42 43# Soft-float only, default implies msoft-float 44# NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES 45MULTILIB_SOFTFLOAT_ONLY = \ 46mcpu=403/*msoft-float* \ 47mcpu=821/*msoft-float* \ 48mcpu=860/*msoft-float* 49 50# Hard-float only, take out msoft-float 51MULTILIB_HARDFLOAT_ONLY = \ 52mcpu=505/*msoft-float* 53 54MULTILIB_EXCEPTIONS = 55 56# Disallow -D_OLD_EXCEPTIONS without other options 57MULTILIB_EXCEPTIONS += D_OLD_EXCEPTIONS* 58 59# Disallow -Dppc and -Dmpc without other options 60MULTILIB_EXCEPTIONS += Dppc* Dmpc* 61 62MULTILIB_EXCEPTIONS += \ 63${MULTILIB_NEW_EXCEPTIONS_ONLY} \ 64${MULTILIB_SOFTFLOAT_ONLY} \ 65${MULTILIB_HARDFLOAT_ONLY} 66 67# Special rules 68# Take out all variants we don't want 69MULTILIB_EXCEPTIONS += mcpu=403/Dmpc509* 70MULTILIB_EXCEPTIONS += mcpu=403/Dmpc8260* 71MULTILIB_EXCEPTIONS += mcpu=505/Dmpc509* 72MULTILIB_EXCEPTIONS += mcpu=505/Dmpc8260* 73MULTILIB_EXCEPTIONS += mcpu=601/Dmpc509* 74MULTILIB_EXCEPTIONS += mcpu=601/Dmpc8260* 75MULTILIB_EXCEPTIONS += mcpu=602/Dmpc509* 76MULTILIB_EXCEPTIONS += mcpu=602/Dmpc8260* 77MULTILIB_EXCEPTIONS += mcpu=603/Dmpc509* 78MULTILIB_EXCEPTIONS += mcpu=603/Dmpc8260* 79MULTILIB_EXCEPTIONS += mcpu=603e/Dmpc509* 80MULTILIB_EXCEPTIONS += mcpu=604/Dmpc509* 81MULTILIB_EXCEPTIONS += mcpu=604/Dmpc8260* 82MULTILIB_EXCEPTIONS += mcpu=750/Dmpc509* 83MULTILIB_EXCEPTIONS += mcpu=750/Dmpc8260* 84MULTILIB_EXCEPTIONS += mcpu=821/Dmpc509* 85MULTILIB_EXCEPTIONS += mcpu=821/Dmpc8260* 86MULTILIB_EXCEPTIONS += mcpu=860/Dmpc509* 87MULTILIB_EXCEPTIONS += mcpu=860/Dmpc8260* 88