1# Makefile fragment for building GCC for the rx-linux.
2# Copyright (C) 2019 Yoshinori Sato
3# Based on t-rx
4#
5# This file is part of GCC.
6#
7# GCC is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published
9# by the Free Software Foundation; either version 3, or (at your
10# option) any later version.
11#
12# GCC is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See
15# the GNU General Public License for more details.
16#
17# You should have received a copy of the  GNU General Public
18# License along with GCC; see the file COPYING3.  If not see
19# <http://www.gnu.org/licenses/>.
20
21# Enable multilibs:
22
23MULTILIB_OPTIONS    =
24MULTILIB_DIRNAMES   =
25
26MULTILIB_MATCHES    = nofpu=mnofpu  nofpu=mcpu?rx200  nofpu=mcpu?RX200
27
28MULTILIB_EXCEPTIONS =
29MULTILIB_EXTRA_OPTS =
30
31LIBGCC = stmp-multilib
32INSTALL_LIBGCC = install-multilib
33
34EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
35