From 5fc54227982c5e5edd060396f9fe2639795622d0 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 26 Apr 2011 22:34:59 +0200 Subject: make arch specific cacheflush, readahead and sysmips LINUX_SPECIFIC dependent Remove the related headers. Adapt sh's type to the one used everywhere and add prototype for it. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/mips/Makefile.arch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/mips/Makefile.arch') diff --git a/libc/sysdeps/linux/mips/Makefile.arch b/libc/sysdeps/linux/mips/Makefile.arch index 6db0b2a84..fce99f813 100644 --- a/libc/sysdeps/linux/mips/Makefile.arch +++ b/libc/sysdeps/linux/mips/Makefile.arch @@ -7,8 +7,11 @@ CSRC := \ __longjmp.c brk.c setjmp_aux.c \ - cacheflush.c pread_write.c sigaction.c sysmips.c _test_and_set.c \ - readahead.c + pread_write.c sigaction.c _test_and_set.c + +ifeq ($(UCLIBC_LINUX_SPECIFIC),y) +CSRC += cacheflush.c readahead.c sysmips.c +endif SSRC := bsd-_setjmp.S bsd-setjmp.S setjmp.S syscall.S pipe.S syscall_error.S -- cgit v1.2.3