Makefile.arch 531 B

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