]>
Commit | Line | Data |
---|---|---|
cc7232b9 J |
1 | # Multilib configuration for csky*-linux-*. |
2 | # | |
8d9254fc | 3 | # Copyright (C) 2018-2020 Free Software Foundation, Inc. |
cc7232b9 J |
4 | # Contributed by C-SKY Microsystems and Mentor Graphics. |
5 | # | |
6 | # This file is part of GCC. | |
7 | # | |
8 | # GCC is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 3, or (at your option) | |
11 | # any later version. | |
12 | # | |
13 | # GCC is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with GCC; see the file COPYING3. If not see | |
20 | # <http://www.gnu.org/licenses/>. | |
21 | ||
22 | ||
23 | # Endiannesses. | |
24 | MULTILIB_OPTIONS = mlittle-endian/mbig-endian | |
25 | MULTILIB_DIRNAMES = little big | |
26 | MULTILIB_MATCHES = mlittle-endian=EL | |
27 | MULTILIB_MATCHES = mbig-endian=EB | |
28 | ||
29 | MULTILIB_EXCEPTIONS = | |
30 | CSKY_MULTILIB_OSDIRNAMES = mbig-endian=/big mlittle-endian=/. mhard-float=/hard-fp msoft-float=/. mcpu.ck810f=/. mcpu.ck807f=/ck807 | |
31 | ||
32 | # Arch variants. | |
33 | MULTILIB_OPTIONS += mcpu=ck810f/mcpu=ck807f | |
34 | MULTILIB_DIRNAMES += ck810 ck807 | |
35 | ||
36 | # For ck807. | |
37 | MULTILIB_MATCHES += mcpu?ck807f=march?ck807 | |
38 | MULTILIB_MATCHES += mcpu?ck807f=mcpu?ck807 | |
39 | ||
40 | # For arch ck810. | |
41 | MULTILIB_MATCHES += mcpu?ck810f=march?ck810 | |
42 | MULTILIB_MATCHES += mcpu?ck810f=mcpu?ck810 | |
43 | MULTILIB_MATCHES += mcpu?ck810f=mcpu?ck810v | |
44 | MULTILIB_MATCHES += mcpu?ck810f=mcpu?ck810t | |
45 | MULTILIB_MATCHES += mcpu?ck810f=mcpu?ck810vt | |
46 | MULTILIB_MATCHES += mcpu?ck810f=mcpu?ck810vf | |
47 | MULTILIB_MATCHES += mcpu?ck810f=mcpu?ck810ft | |
48 | MULTILIB_MATCHES += mcpu?ck810f=mcpu?ck810vft | |
49 | ||
50 | # For option -msoft-float/-mhard-float. | |
51 | MULTILIB_OPTIONS += msoft-float/mhard-float | |
52 | MULTILIB_DIRNAMES += soft-fp hard-fp |