1# Copyright (C) 2007-2015 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 24MULTILIB_MATCHES = mips32r2=mips32r3 mips32r2=mips32r5 mips64r2=mips64r3 mips64r2=mips64r5 25 26# Remove stdarg.h and stddef.h from USER_H. 27USER_H = $(srcdir)/ginclude/float.h \ 28 $(srcdir)/ginclude/iso646.h \ 29 $(srcdir)/ginclude/stdbool.h \ 30 $(srcdir)/ginclude/varargs.h \ 31 $(EXTRA_HEADERS) 32 33# Don't run fixinclude 34STMP_FIXINC = stmp-sdefixinc 35stmp-sdefixinc: gsyslimits.h 36 rm -rf include; mkdir include 37 chmod a+rx include 38 rm -f include/syslimits.h 39 cp $(srcdir)/gsyslimits.h include/syslimits.h 40 chmod a+r include/syslimits.h 41 $(STAMP) stmp-sdefixinc 42