]> err.no Git - linux-2.6/blobdiff - arch/sh/lib/Makefile
sh: Explicit alignment for PAGE_SIZE in copy/clear_page().
[linux-2.6] / arch / sh / lib / Makefile
index e23dd1a3fccd8f102eba02d24ac4cf3cc46fc607..ebb55d1149f55ab3ea44c79e2704dc1ac2ea0cb5 100644 (file)
@@ -2,10 +2,13 @@
 # Makefile for SuperH-specific library files..
 #
 
-lib-y  = delay.o memset.o memmove.o memchr.o \
+lib-y  = delay.o io.o memset.o memmove.o memchr.o \
         checksum.o strlen.o div64.o div64-generic.o
 
 memcpy-y                       := memcpy.o
 memcpy-$(CONFIG_CPU_SH4)       := memcpy-sh4.o
 
-lib-y  += $(memcpy-y)
+lib-$(CONFIG_MMU)              += copy_page.o clear_page.o
+lib-y                          += $(memcpy-y)
+
+EXTRA_CFLAGS += -Werror