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