t-sdemtk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # Override newlib settings in t-sde and set up for building
  19. # against SDE header files and libraries.
  20. MULTILIB_OPTIONS = EL/EB mips32/mips32r2/mips64/mips64r2 mips16 msoft-float/mno-float/mfp64
  21. MULTILIB_DIRNAMES = el eb mips32 mips32r2 mips64 mips64r2 mips16 sof nof f64
  22. MULTILIB_MATCHES = mips32r2=mips32r3 mips32r2=mips32r5 mips64r2=mips64r3 mips64r2=mips64r5
  23. # Remove stdarg.h and stddef.h from USER_H.
  24. USER_H = $(srcdir)/ginclude/float.h \
  25. $(srcdir)/ginclude/iso646.h \
  26. $(srcdir)/ginclude/stdbool.h \
  27. $(srcdir)/ginclude/varargs.h \
  28. $(EXTRA_HEADERS)
  29. # Don't run fixinclude
  30. STMP_FIXINC = stmp-sdefixinc
  31. stmp-sdefixinc: gsyslimits.h
  32. rm -rf include; mkdir include
  33. chmod a+rx include
  34. rm -f include/syslimits.h
  35. cp $(srcdir)/gsyslimits.h include/syslimits.h
  36. chmod a+r include/syslimits.h
  37. $(STAMP) stmp-sdefixinc