t-pru 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Makefile fragment for building LIBGCC for the TI PRU processor.
  2. # Copyright (C) 2014-2022 Free Software Foundation, Inc.
  3. # Contributed by Dimitar Dimitrov <dimitar@dinux.eu>
  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. # Note - we have separate versions of the lib2div<mode> files
  21. # as the functions are quite large and we do not want to pull
  22. # in unneeded division routines.
  23. LIB2ADD += \
  24. $(srcdir)/config/pru/lib2divQI.c \
  25. $(srcdir)/config/pru/lib2divHI.c \
  26. $(srcdir)/config/pru/lib2divSI.c \
  27. $(srcdir)/config/pru/lib2bitcountHI.c \
  28. $(srcdir)/config/pru/mpyll.S \
  29. $(srcdir)/config/pru/gef.c \
  30. $(srcdir)/config/pru/gtf.c \
  31. $(srcdir)/config/pru/lef.c \
  32. $(srcdir)/config/pru/ltf.c \
  33. $(srcdir)/config/pru/eqf.c \
  34. $(srcdir)/config/pru/ged.c \
  35. $(srcdir)/config/pru/gtd.c \
  36. $(srcdir)/config/pru/led.c \
  37. $(srcdir)/config/pru/ltd.c \
  38. $(srcdir)/config/pru/eqd.c \
  39. $(srcdir)/config/pru/asri.c
  40. HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections
  41. LIB2FUNCS_EXCLUDE = _muldi3
  42. SHLIB_MAPFILES += $(srcdir)/config/pru/libgcc-eabi.ver
  43. # Local Variables:
  44. # mode: Makefile
  45. # End: