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

lib-y  = delay.o memset.o memmove.o memchr.o \
	 checksum.o strlen.o div64.o div64-generic.o

obj-y				+= io.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