summaryrefslogtreecommitdiff
path: root/arch/sh/lib/Makefile
blob: 596421821d08bb522199e898a32fc021df7ce57d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# 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-$(CONFIG_FUNCTION_TRACER)	+= mcount.o
lib-y				+= $(memcpy-y)

EXTRA_CFLAGS += -Werror