Skip to content

Commit

Permalink
m68k: let Makefile sort out compiling mmu and non-mmu lib/checksum.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed May 24, 2011
1 parent 66d83ab commit 9461702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions arch/m68k/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

5 changes: 0 additions & 5 deletions arch/m68k/lib/checksum.c

This file was deleted.

0 comments on commit 9461702

Please sign in to comment.