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/sh/Makefile.arch | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'libc/sysdeps/linux/sh') diff --git a/libc/sysdeps/linux/sh/Makefile.arch b/libc/sysdeps/linux/sh/Makefile.arch index 3ec8cbd3f..99a77213b 100644 --- a/libc/sysdeps/linux/sh/Makefile.arch +++ b/libc/sysdeps/linux/sh/Makefile.arch @@ -6,15 +6,10 @@ # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # -CSRC := \ +CSRC-y := \ pipe.c __init_brk.c brk.c sbrk.c pread_write.c -ifeq ($(UCLIBC_LINUX_SPECIFIC),y) -CSRC += cacheflush.c -endif +SSRC-y := setjmp.S __longjmp.S ___fpscr_values.S -SSRC := setjmp.S __longjmp.S ___fpscr_values.S - -ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) -SSRC += clone.S vfork.S -endif +CSRC-$(UCLIBC_LINUX_SPECIFIC) += cacheflush.c +SSRC-$(if $(UCLIBC_HAS_THREADS_NATIVE),,y) += clone.S vfork.S -- cgit v1.2.3