1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4#
5
6lib-y	:= strchr-700.o strcpy-700.o strlen.o memcmp.o
7
8lib-$(CONFIG_ISA_ARCOMPACT)	+= memcpy-700.o memset.o strcmp.o
9lib-$(CONFIG_ISA_ARCV2)		+= memset-archs.o strcmp-archs.o
10
11ifdef CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS
12lib-$(CONFIG_ISA_ARCV2)		+=memcpy-archs-unaligned.o
13else
14lib-$(CONFIG_ISA_ARCV2)		+=memcpy-archs.o
15endif
16