summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib/Makefile
blob: ebb55d1149f55ab3ea44c79e2704dc1ac2ea0cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Makefile for SuperH-specific library files..
#

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-$(CONFIG_MMU)		+= copy_page.o clear_page.o
lib-y				+= $(memcpy-y)

EXTRA_CFLAGS += -Werror