Home | History | Annotate | Line # | Download | only in csky
      1 # Multilib configuration for csky*-linux-*.
      2 #
      3 # Copyright (C) 2018-2022 Free Software Foundation, Inc.
      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 MULTILIB_EXCEPTIONS  =
     24 MULTILIB_OSDIRNAMES = ./ ./ck807 ./ck860 ./ ./soft-fp ./hard-fp
     25 
     26 # Arch variants.
     27 MULTILIB_OPTIONS     += mcpu=ck810f/mcpu=ck807f/mcpu=ck860f
     28 MULTILIB_DIRNAMES    += ck810 ck807 ck860
     29 
     30 # For ck807.
     31 MULTILIB_MATCHES     += mcpu?ck807f=march?ck807
     32 MULTILIB_MATCHES     += mcpu?ck807f=mcpu?ck807
     33 
     34 # For arch ck810.
     35 MULTILIB_MATCHES     += mcpu?ck810f=march?ck810
     36 MULTILIB_MATCHES     += mcpu?ck810f=mcpu?ck810
     37 MULTILIB_MATCHES     += mcpu?ck810f=mcpu?ck810v
     38 MULTILIB_MATCHES     += mcpu?ck810f=mcpu?ck810t
     39 MULTILIB_MATCHES     += mcpu?ck810f=mcpu?ck810vt
     40 MULTILIB_MATCHES     += mcpu?ck810f=mcpu?ck810vf
     41 MULTILIB_MATCHES     += mcpu?ck810f=mcpu?ck810ft
     42 MULTILIB_MATCHES     += mcpu?ck810f=mcpu?ck810vft
     43 
     44 # For ck860
     45 MULTILIB_MATCHES     += mcpu?ck860f=march?ck860
     46 MULTILIB_MATCHES     += mcpu?ck860f=mcpu?ck860
     47 MULTILIB_MATCHES     += mcpu?ck860f=mcpu?c860
     48 
     49 # For option -mfloat-abi=
     50 MULTILIB_OPTIONS     += mfloat-abi=soft/mfloat-abi=softfp/mfloat-abi=hard
     51 MULTILIB_DIRNAMES    += soft soft-fp hard-fp
     52