1# Copyright (C) 2007-2013 Free Software Foundation, Inc. 2# 3# This file is part of GCC. 4# 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) 8# any later version. 9# 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. 14# 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/>. 18 19# Override newlib settings in t-sde and set up for building 20# against SDE header files and libraries. 21 22MULTILIB_OPTIONS = EL/EB mips32/mips32r2/mips64/mips64r2 mips16 msoft-float/mno-float/mfp64 23MULTILIB_DIRNAMES = el eb mips32 mips32r2 mips64 mips64r2 mips16 sof nof f64 24 25# Remove stdarg.h and stddef.h from USER_H. 26USER_H = $(srcdir)/ginclude/float.h \ 27 $(srcdir)/ginclude/iso646.h \ 28 $(srcdir)/ginclude/stdbool.h \ 29 $(srcdir)/ginclude/varargs.h \ 30 $(EXTRA_HEADERS) 31 32# Don't run fixinclude 33STMP_FIXINC = stmp-sdefixinc 34stmp-sdefixinc: gsyslimits.h 35 rm -rf include; mkdir include 36 chmod a+rx 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 41