xref: /openbmc/linux/arch/arc/lib/Makefile (revision 1804569d)
1#
2# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License version 2 as
6# published by the Free Software Foundation.
7
8lib-y	:= strchr-700.o strcpy-700.o strlen.o memcmp.o
9
10lib-$(CONFIG_ISA_ARCOMPACT)	+= memcpy-700.o memset.o strcmp.o
11lib-$(CONFIG_ISA_ARCV2)		+= memset-archs.o strcmp-archs.o
12
13ifdef CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS
14lib-$(CONFIG_ISA_ARCV2)		+=memcpy-archs-unaligned.o
15else
16lib-$(CONFIG_ISA_ARCV2)		+=memcpy-archs.o
17endif
18