Makefile.arch 614 B

123456789101112131415161718192021222324252627
  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 __syscall_error.c sigaction.c
  8. SSRC := \
  9. __longjmp.S setjmp.S syscall.S bsd-setjmp.S bsd-_setjmp.S
  10. ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
  11. SSRC += vfork.S clone.S
  12. endif
  13. ifeq ($(UCLIBC_LINUX_SPECIFIC),y)
  14. ARCH_OBJ_FILTEROUT = sched_getcpu.c
  15. ifeq ($(UCLIBC_HAS_TLS),y)
  16. SSRC += sched_getcpu.S
  17. endif
  18. endif
  19. ifeq ($(UCLIBC_HAS_CONTEXT_FUNCS),y)
  20. CSRC += makecontext.c
  21. SSRC += setcontext.S getcontext.S swapcontext.S __start_context.S
  22. endif