Makefile.arch 643 B

12345678910111213141516171819202122
  1. # Makefile for uClibc NPTL
  2. #
  3. # Copyright (C) 2006 Steven J. Hill <sjhill@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. libpthread_linux_arch_SSRC =
  8. libpthread_linux_arch_CSRC = pthread_once.c \
  9. pt-__syscall_rt_sigaction.c pt-__syscall_error.c
  10. libc_linux_arch_CSRC = fork.c
  11. libc_linux_arch_SSRC = clone.S vfork.S
  12. libc_linux_arch_SSRC-OMIT = waitpid.S
  13. # We always compile it in arm mode because of SAVE_PID macro
  14. # This macro should be alternatively implemented in THUMB
  15. # assembly.
  16. ASFLAGS-pt-vfork.S = -marm
  17. CFLAGS-OMIT-pt-vfork.S = -mthumb
  18. ASFLAGS-vfork.S = -marm
  19. CFLAGS-OMIT-vfork.S = -mthumb