]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/msp430/t-msp430
avr-mcus.def: Remove atxmega16x1.
[thirdparty/gcc.git] / gcc / config / msp430 / t-msp430
CommitLineData
f6a83b4a 1# Makefile fragment for building GCC for the TI MSP430 target.
23a5b65a 2# Copyright (C) 2012-2014 Free Software Foundation, Inc.
f6a83b4a
DD
3# Contributed by Red Hat.
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
d4f283a1 23MULTILIB_OPTIONS = mcpu=msp430x mlarge
f6a83b4a
DD
24MULTILIB_DIRNAMES = 430x large
25
d4f283a1
NC
26# Match msp430X, msp430xv2 and msp430Xv2 with msp430x.
27MULTILIB_MATCHES = mcpu?msp430x=mcpu?msp430X
28MULTILIB_MATCHES += mcpu?msp430x=mcpu?msp430xv2
29MULTILIB_MATCHES += mcpu?msp430x=mcpu?msp430Xv2
949ad971
NC
30MULTILIB_MATCHES += mcpu?msp430x=mmcu?msp430x
31MULTILIB_MATCHES += mcpu?msp430x=mmcu?msp430X
32MULTILIB_MATCHES += mcpu?msp430x=mmcu?msp430xv2
33MULTILIB_MATCHES += mcpu?msp430x=mmcu?msp430Xv2
34MULTILIB_MATCHES += mcpu?msp430x=mcpu?430x
35MULTILIB_MATCHES += mcpu?msp430x=mcpu?430X
36MULTILIB_MATCHES += mcpu?msp430x=mcpu?430xv2
37MULTILIB_MATCHES += mcpu?msp430x=mcpu?430Xv2
50cfbf99 38
d4f283a1
NC
39# Add additional MCU matches like this:
40# MULTILIB_MATCHES += mcpu?msp430x=mmcu?xxxxxxxxxx
f6a83b4a
DD
41
42MULTILIB_EXCEPTIONS = mlarge
43
44MULTILIB_EXTRA_OPTS =
45
46msp430-c.o: $(srcdir)/config/msp430/msp430-c.c $(RTL_H) $(TREE_H) $(CONFIG_H) $(TM_H)
47 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<