Makefile.arch 787 B

123456789101112131415161718192021222324
  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 := \
  8. __longjmp.c brk.c setjmp_aux.c \
  9. pread_write.c sigaction.c _test_and_set.c
  10. SSRC-y := bsd-_setjmp.S bsd-setjmp.S setjmp.S syscall.S pipe.S syscall_error.S
  11. CSRC-$(UCLIBC_LINUX_SPECIFIC) += cacheflush.c sysmips.c
  12. CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise.c
  13. CSRC-$(if $(findstring yy,$(UCLIBC_HAS_LFS)$(UCLIBC_HAS_ADVANCED_REALTIME)),y) += posix_fadvise64.c
  14. SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += vfork.S clone.S
  15. SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.S setcontext.S getcontext.S \
  16. swapcontext.S
  17. ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT
  18. ARCH_HEADERS := sgidefs.h
  19. # regdef.h