Makefile 766 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Makefile for SuperH-specific library files..
  3. #
  4. lib-y = delay.o memmove.o memchr.o \
  5. checksum.o strlen.o div64.o div64-generic.o
  6. # Extracted from libgcc
  7. obj-y += movmem.o ashldi3.o ashrdi3.o lshrdi3.o \
  8. ashlsi3.o ashrsi3.o ashiftrt.o lshrsi3.o \
  9. udiv_qrnnd.o
  10. udivsi3-y := udivsi3_i4i-Os.o
  11. ifneq ($(CONFIG_CC_OPTIMIZE_FOR_SIZE),y)
  12. udivsi3-$(CONFIG_CPU_SH3) := udivsi3_i4i.o
  13. udivsi3-$(CONFIG_CPU_SH4) := udivsi3_i4i.o
  14. endif
  15. udivsi3-y += udivsi3.o
  16. obj-y += io.o
  17. memcpy-y := memcpy.o
  18. memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o
  19. memset-y := memset.o
  20. memset-$(CONFIG_CPU_SH4) := memset-sh4.o
  21. lib-$(CONFIG_MMU) += copy_page.o __clear_user.o
  22. lib-$(CONFIG_MCOUNT) += mcount.o
  23. lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y)
  24. ccflags-y := -Werror