Makefile.arch 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. CSRC := brk.c ioperm.c iopl.c mmap.c sigaction.c __syscall_error.c
  8. SSRC := \
  9. __longjmp.S vfork.S clone.S setjmp.S bsd-setjmp.S \
  10. bsd-_setjmp.S sigrestorer.S mmap64.S
  11. ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y)
  12. CSRC += posix_fadvise.c posix_fadvise64.c
  13. endif
  14. ifeq ($(CONFIG_ARM_EABI),y)
  15. CSRC += aeabi_assert.c aeabi_atexit.c aeabi_errno_addr.c \
  16. aeabi_localeconv.c aeabi_memclr.c aeabi_memcpy.c \
  17. aeabi_memmove.c aeabi_memset.c find_exidx.c
  18. SSRC += syscall-eabi.S
  19. ifeq ($(UCLIBC_HAS_WCHAR),y)
  20. CSRC += aeabi_mb_cur_max.c
  21. endif
  22. else
  23. CSRC += syscall.c
  24. endif
  25. ifeq ($(CONFIG_ARM_EABI),y)
  26. libc-static-y += $(ARCH_OUT)/aeabi_lcsts.o $(ARCH_OUT)/aeabi_math.o \
  27. $(ARCH_OUT)/aeabi_sighandlers.o
  28. libc-nonshared-y += $(ARCH_OUT)/aeabi_lcsts.os $(ARCH_OUT)/aeabi_math.os \
  29. $(ARCH_OUT)/aeabi_sighandlers.os
  30. libc-shared-y += $(ARCH_OUT)/aeabi_unwind_cpp_pr1.os
  31. endif