From daecc9a410a6f23d80daf8ce3afd280fea329e63 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 18 Nov 2010 14:58:01 +0000 Subject: metag: Add NPTL support Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/sysdeps/metag/Makefile.arch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libpthread/nptl/sysdeps/metag/Makefile.arch (limited to 'libpthread/nptl/sysdeps/metag/Makefile.arch') diff --git a/libpthread/nptl/sysdeps/metag/Makefile.arch b/libpthread/nptl/sysdeps/metag/Makefile.arch new file mode 100644 index 000000000..0a42e686a --- /dev/null +++ b/libpthread/nptl/sysdeps/metag/Makefile.arch @@ -0,0 +1,17 @@ +# Makefile for uClibc NPTL +# +# Copyright (C) 2005 Steven J. Hill +# +# Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball. +# + +CFLAGS-pthread_spin_init.c = -DNOT_IN_libc -DIS_IN_libpthread +ASFLAGS-pthread_spin_lock.S = -DNOT_IN_libc -DIS_IN_libpthread +ASFLAGS-pthread_spin_unlock.S = -DNOT_IN_libc -DIS_IN_libpthread +ASFLAGS-pthread_spin_trylock.S = -DNOT_IN_libc -DIS_IN_libpthread + +ASFLAGS-pthread_spin_lock.c += -D_GNU_SOURCE + +CFLAGS-metag = $(SSP_ALL_CFLAGS) + +libc_arch_a_CSRC := libc-tls.c -- cgit v1.2.3