m68k: merge mmu and non-mmu versions of lib/Makefile

We can easily support the slight differences in libs needed by the
mmu and non-mmu builds in a single Makefile, so merge them back into
a single file again.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
Greg Ungerer 2011-03-28 15:58:49 +10:00
parent 98d655a68f
commit b82ed87e67
3 changed files with 11 additions and 15 deletions

View File

@ -1,5 +1,14 @@
#
# Makefile for m68k-specific library files..
#
lib-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o checksum.o
ifdef CONFIG_MMU
include arch/m68k/lib/Makefile_mm
lib-y += string.o uaccess.o
else
include arch/m68k/lib/Makefile_no
lib-y += mulsi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o \
memcpy.o memmove.o memset.o delay.o
endif

View File

@ -1,6 +0,0 @@
#
# Makefile for m68k-specific library files..
#
lib-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
checksum.o string.o uaccess.o

View File

@ -1,7 +0,0 @@
#
# Makefile for m68knommu specific library files..
#
lib-y := ashldi3.o ashrdi3.o lshrdi3.o \
muldi3.o mulsi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o \
checksum.o memcpy.o memmove.o memset.o delay.o