summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/Makefile.arch
blob: 7491d92b2e32b6dfac2d568f4829d546d46f9d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile for uClibc
#
# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

CSRC := brk.c __syscall_error.c sigaction.c

SSRC := \
	__longjmp.S setjmp.S syscall.S bsd-setjmp.S bsd-_setjmp.S

ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
SSRC += vfork.S clone.S
endif

ifeq ($(UCLIBC_LINUX_SPECIFIC),y)
ARCH_OBJ_FILTEROUT = sched_getcpu.c
ifeq ($(UCLIBC_HAS_TLS),y)
SSRC += sched_getcpu.S
endif
endif