1 # Copyright (C) 2007-2013 Free Software Foundation, Inc.
3 # This file is part of GCC.
5 # GCC is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
10 # GCC is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
19 # Override newlib settings in t-sde and set up for building
20 # against SDE header files and libraries.
22 MULTILIB_OPTIONS = EL/EB mips32/mips32r2/mips64/mips64r2 mips16 msoft-float/mno-float/mfp64
23 MULTILIB_DIRNAMES = el eb mips32 mips32r2 mips64 mips64r2 mips16 sof nof f64
25 # Remove stdarg.h and stddef.h from USER_H.
26 USER_H = $(srcdir)/ginclude/float.h \
27 $(srcdir)/ginclude/iso646.h \
28 $(srcdir)/ginclude/stdbool.h \
29 $(srcdir)/ginclude/varargs.h \
32 # Don't run fixinclude
33 STMP_FIXINC = stmp-sdefixinc
34 stmp-sdefixinc: gsyslimits.h
35 rm -rf include; mkdir include
37 rm -f include/syslimits.h
38 cp $(srcdir)/gsyslimits.h include/syslimits.h
39 chmod a+r include/syslimits.h
40 $(STAMP) stmp-sdefixinc