Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #
  2. # linux/arch/arm/lib/Makefile
  3. #
  4. # Copyright (C) 1995-2000 Russell King
  5. #
  6. lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \
  7. csumpartialcopy.o csumpartialcopyuser.o clearbit.o \
  8. delay.o delay-loop.o findbit.o memchr.o memcpy.o \
  9. memmove.o memset.o memzero.o setbit.o \
  10. strchr.o strrchr.o \
  11. testchangebit.o testclearbit.o testsetbit.o \
  12. ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
  13. ucmpdi2.o lib1funcs.o div64.o \
  14. io-readsb.o io-writesb.o io-readsl.o io-writesl.o \
  15. call_with_stack.o bswapsdi2.o
  16. mmu-y := clear_user.o copy_page.o getuser.o putuser.o \
  17. copy_from_user.o copy_to_user.o
  18. # using lib_ here won't override already available weak symbols
  19. obj-$(CONFIG_UACCESS_WITH_MEMCPY) += uaccess_with_memcpy.o
  20. lib-$(CONFIG_MMU) += $(mmu-y)
  21. ifeq ($(CONFIG_CPU_32v3),y)
  22. lib-y += io-readsw-armv3.o io-writesw-armv3.o
  23. else
  24. lib-y += io-readsw-armv4.o io-writesw-armv4.o
  25. endif
  26. ifeq ($(CONFIG_ARCH_RPC),y)
  27. lib-y += ecard.o io-acorn.o floppydma.o
  28. AFLAGS_delay-loop.o += -march=armv4
  29. endif
  30. $(obj)/csumpartialcopy.o: $(obj)/csumpartialcopygeneric.S
  31. $(obj)/csumpartialcopyuser.o: $(obj)/csumpartialcopygeneric.S
  32. ifeq ($(CONFIG_KERNEL_MODE_NEON),y)
  33. NEON_FLAGS := -mfloat-abi=softfp -mfpu=neon
  34. CFLAGS_xor-neon.o += $(NEON_FLAGS)
  35. obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o
  36. endif