提交 9461702d 编写于 作者: G Greg Ungerer

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: NGreg Ungerer <gerg@uclinux.org>
上级 66d83ab3
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# #
lib-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \ 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 ifdef CONFIG_MMU
lib-y += string.o uaccess.o lib-y += string.o uaccess.o checksum_mm.o
else 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 endif
#ifdef CONFIG_MMU
#include "checksum_mm.c"
#else
#include "checksum_no.c"
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册