From d0234b16d61f06b2a3fd6241eff8c81250283a60 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 10 Jan 2013 17:02:39 +0100 Subject: buildsys: use kbuild style Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/i386/Makefile.arch | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'libc/sysdeps/linux/i386') diff --git a/libc/sysdeps/linux/i386/Makefile.arch b/libc/sysdeps/linux/i386/Makefile.arch index e7fd28eea..e1739e193 100644 --- a/libc/sysdeps/linux/i386/Makefile.arch +++ b/libc/sysdeps/linux/i386/Makefile.arch @@ -5,20 +5,12 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -CSRC := brk.c __syscall_error.c sigaction.c +CSRC-y := brk.c __syscall_error.c sigaction.c -SSRC := \ +SSRC-y := \ __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \ sync_file_range.S syscall.S mmap.S mmap64.S -ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y) -SSRC += posix_fadvise64.S -endif - -ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) -SSRC += vfork.S clone.S -endif - -ifeq ($(UCLIBC_HAS_CONTEXT_FUNCS),y) -SSRC += makecontext.S setcontext.S getcontext.S swapcontext.S -endif +SSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise64.S +SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += vfork.S clone.S +SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) += makecontext.S setcontext.S getcontext.S swapcontext.S -- cgit v1.2.3