Makefile.arch 681 B

1234567891011121314151617181920212223
  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. lowlevellock.c
  11. libc_linux_arch_CSRC = fork.c libc-lowlevellock.c
  12. libc_linux_arch_SSRC = clone.S vfork.S
  13. libc_linux_arch_SSRC-OMIT = waitpid.S
  14. # We always compile it in arm mode because of SAVE_PID macro
  15. # This macro should be alternatively implemented in THUMB
  16. # assembly.
  17. ASFLAGS-pt-vfork.S = -marm
  18. CFLAGS-OMIT-pt-vfork.S = -mthumb
  19. ASFLAGS-vfork.S = -marm
  20. CFLAGS-OMIT-vfork.S = -mthumb