summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/Makefile.arch
blob: f3a93caaafb19905ac1678dec2eaae651eeccb73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Makefile for uClibc
#
# Copyright (C) 2007, 2008 Tensilica Inc.
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

CSRC-y := brk.c sigaction.c __syscall_error.c
SSRC-y := bsd-_setjmp.S bsd-setjmp.S setjmp.S clone.S \
	  sigrestorer.S syscall.S mmap.S windowspill.S __longjmp.S vfork.S

CSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += fork.c

CSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.c
SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += setcontext.S getcontext.S swapcontext.S __start_context.S