Makefile.arch 633 B

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