summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/Makefile.arch
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-26 22:34:59 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:43 +0200
commit5fc54227982c5e5edd060396f9fe2639795622d0 (patch)
tree840ff5274a79c3c8b452417fdb367f49bc1cccad /libc/sysdeps/linux/sh/Makefile.arch
parent4c5395c9438a98479f17e6bdc88b1ffbe14cae10 (diff)
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 <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/sh/Makefile.arch6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/Makefile.arch b/libc/sysdeps/linux/sh/Makefile.arch
index 5ebf42bf1..3ec8cbd3f 100644
--- a/libc/sysdeps/linux/sh/Makefile.arch
+++ b/libc/sysdeps/linux/sh/Makefile.arch
@@ -7,7 +7,11 @@
#
CSRC := \
- pipe.c __init_brk.c brk.c sbrk.c pread_write.c cacheflush.c
+ pipe.c __init_brk.c brk.c sbrk.c pread_write.c
+
+ifeq ($(UCLIBC_LINUX_SPECIFIC),y)
+CSRC += cacheflush.c
+endif
SSRC := setjmp.S __longjmp.S ___fpscr_values.S