Skip to content

Commit

Permalink
m68k: merge mmu and non-mmu versions of lib/Makefile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed May 24, 2011
1 parent 98d655a commit b82ed87
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
13 changes: 11 additions & 2 deletions arch/m68k/lib/Makefile
Original file line number Diff line number Diff line change
@@ -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

6 changes: 0 additions & 6 deletions arch/m68k/lib/Makefile_mm

This file was deleted.

7 changes: 0 additions & 7 deletions arch/m68k/lib/Makefile_no

This file was deleted.

0 comments on commit b82ed87

Please sign in to comment.