1# Custom RTEMS multilibs for ARM
2
3# Reset all MULTILIB variables
4
5MULTILIB_OPTIONS	=
6MULTILIB_DIRNAMES	=
7MULTILIB_EXCEPTIONS	=
8MULTILIB_REUSE		=
9MULTILIB_MATCHES	=
10MULTILIB_REQUIRED	=
11
12# Enumeration of multilibs
13
14MULTILIB_OPTIONS	+= mbig-endian
15MULTILIB_DIRNAMES	+= eb
16
17MULTILIB_OPTIONS	+= mthumb
18MULTILIB_DIRNAMES	+= thumb
19
20MULTILIB_OPTIONS	+= march=armv5te+fp/march=armv6-m/march=armv7-a/march=armv7-a+simd/march=armv7-r/march=armv7-r+fp/mcpu=cortex-r52/mcpu=cortex-m3/mcpu=cortex-m4/mcpu=cortex-m4+nofp/mcpu=cortex-m7
21MULTILIB_DIRNAMES	+= armv5te+fp       armv6-m       armv7-a       armv7-a+simd       armv7-r       armv7-r+fp       cortex-r52      cortex-m3      cortex-m4      cortex-m4+nofp      cortex-m7
22
23MULTILIB_OPTIONS	+= mfloat-abi=hard
24MULTILIB_DIRNAMES	+= hard
25
26MULTILIB_REQUIRED	+= mbig-endian/mthumb/march=armv7-r+fp/mfloat-abi=hard
27MULTILIB_REQUIRED	+= mbig-endian/mthumb/march=armv7-r
28MULTILIB_REQUIRED	+= march=armv5te+fp/mfloat-abi=hard
29MULTILIB_REQUIRED	+= mthumb/march=armv6-m
30MULTILIB_REQUIRED	+= mthumb/march=armv7-a+simd/mfloat-abi=hard
31MULTILIB_REQUIRED	+= mthumb/march=armv7-a
32MULTILIB_REQUIRED	+= mthumb/march=armv7-r+fp/mfloat-abi=hard
33MULTILIB_REQUIRED	+= mthumb/march=armv7-r
34MULTILIB_REQUIRED	+= mthumb/mcpu=cortex-r52/mfloat-abi=hard
35MULTILIB_REQUIRED	+= mthumb/mcpu=cortex-m3
36MULTILIB_REQUIRED	+= mthumb/mcpu=cortex-m4/mfloat-abi=hard
37MULTILIB_REQUIRED	+= mthumb/mcpu=cortex-m4+nofp
38MULTILIB_REQUIRED	+= mthumb/mcpu=cortex-m7/mfloat-abi=hard
39MULTILIB_REQUIRED	+= mthumb
40