summaryrefslogtreecommitdiff
path: root/arch/m68k/lib/Makefile
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-04-18 05:27:55 (GMT)
committerGreg Ungerer <gerg@uclinux.org>2011-05-24 00:03:50 (GMT)
commit9461702d2a54cd4d9da09b7755c96815791a9d07 (patch)
tree86bf4b2cf8ce5a46bffc5a7b175203b61477d612 /arch/m68k/lib/Makefile
parent66d83ab32aec5d84d707d4d72717b9468ec33a96 (diff)
downloadlinux-9461702d2a54cd4d9da09b7755c96815791a9d07.tar.xz
m68k: let Makefile sort out compiling mmu and non-mmu lib/checksum.c
We don't need an arch/m68k/lib/checksum.c wrapper to include the correct mmu or non-mmu version of the checksum code. Let the Makefile just build the appropriate one. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/lib/Makefile')
-rw-r--r--arch/m68k/lib/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile
index 2438d02..df421e5 100644
--- a/arch/m68k/lib/Makefile
+++ b/arch/m68k/lib/Makefile
@@ -4,11 +4,11 @@
#
lib-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
- memcpy.o memset.o memmove.o checksum.o
+ memcpy.o memset.o memmove.o
ifdef CONFIG_MMU
-lib-y += string.o uaccess.o
+lib-y += string.o uaccess.o checksum_mm.o
else
-lib-y += mulsi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o delay.o
+lib-y += mulsi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o delay.o checksum_no.o
endif