summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/Makefile.arch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/bfin/Makefile.arch')
-rw-r--r--libc/sysdeps/linux/bfin/Makefile.arch6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/bfin/Makefile.arch b/libc/sysdeps/linux/bfin/Makefile.arch
index 425a68898..15ecfd81e 100644
--- a/libc/sysdeps/linux/bfin/Makefile.arch
+++ b/libc/sysdeps/linux/bfin/Makefile.arch
@@ -6,7 +6,11 @@
#
CSRC := bsdsetjmp.c clone.c \
- sram-alloc.c sram-free.c dma-memcpy.c cacheflush.c
+ sram-alloc.c sram-free.c dma-memcpy.c
+
+ifeq ($(UCLIBC_LINUX_SPECIFIC),y)
+CSRC += cacheflush.c
+endif
SSRC := __longjmp.S setjmp.S bsd-_setjmp.S