Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for ia64-specific library routines..
  4. #
  5. lib-y := io.o __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
  6. __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o \
  7. checksum.o clear_page.o csum_partial_copy.o \
  8. clear_user.o strncpy_from_user.o strnlen_user.o \
  9. flush.o ip_fast_csum.o do_csum.o \
  10. memset.o strlen.o xor.o
  11. lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o
  12. lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
  13. lib-$(CONFIG_PERFMON) += carta_random.o
  14. AFLAGS___divdi3.o =
  15. AFLAGS___udivdi3.o = -DUNSIGNED
  16. AFLAGS___moddi3.o = -DMODULO
  17. AFLAGS___umoddi3.o = -DUNSIGNED -DMODULO
  18. AFLAGS___divsi3.o =
  19. AFLAGS___udivsi3.o = -DUNSIGNED
  20. AFLAGS___modsi3.o = -DMODULO
  21. AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO
  22. $(obj)/__divdi3.o: $(src)/idiv64.S FORCE
  23. $(call if_changed_rule,as_o_S)
  24. $(obj)/__udivdi3.o: $(src)/idiv64.S FORCE
  25. $(call if_changed_rule,as_o_S)
  26. $(obj)/__moddi3.o: $(src)/idiv64.S FORCE
  27. $(call if_changed_rule,as_o_S)
  28. $(obj)/__umoddi3.o: $(src)/idiv64.S FORCE
  29. $(call if_changed_rule,as_o_S)
  30. $(obj)/__divsi3.o: $(src)/idiv32.S FORCE
  31. $(call if_changed_rule,as_o_S)
  32. $(obj)/__udivsi3.o: $(src)/idiv32.S FORCE
  33. $(call if_changed_rule,as_o_S)
  34. $(obj)/__modsi3.o: $(src)/idiv32.S FORCE
  35. $(call if_changed_rule,as_o_S)
  36. $(obj)/__umodsi3.o: $(src)/idiv32.S FORCE
  37. $(call if_changed_rule,as_o_S)