summaryrefslogtreecommitdiffstats
path: root/arch/arc/lib/Makefile
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2014-11-21 13:39:25 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-06-22 14:06:56 +0530
commit1f7e3dc0baaa41217dc06d3370e1efd1aecbc1f0 (patch)
treea771d4ea921ad357ec1a9540cfc351bffaa61e77 /arch/arc/lib/Makefile
parentbcc4d65abec2adb74157b34519e80331eb4427eb (diff)
downloadlinux-1f7e3dc0baaa41217dc06d3370e1efd1aecbc1f0.tar.gz
linux-1f7e3dc0baaa41217dc06d3370e1efd1aecbc1f0.tar.bz2
linux-1f7e3dc0baaa41217dc06d3370e1efd1aecbc1f0.zip
ARCv2: optimised string/mem lib routines
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/lib/Makefile')
-rw-r--r--arch/arc/lib/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arc/lib/Makefile b/arch/arc/lib/Makefile
index db46e200baba..b1656d156097 100644
--- a/arch/arc/lib/Makefile
+++ b/arch/arc/lib/Makefile
@@ -5,5 +5,7 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
-lib-y := strchr-700.o strcmp.o strcpy-700.o strlen.o
-lib-y += memcmp.o memcpy-700.o memset.o
+lib-y := strchr-700.o strcpy-700.o strlen.o memcmp.o
+
+lib-$(CONFIG_ISA_ARCOMPACT) += memcpy-700.o memset.o strcmp.o
+lib-$(CONFIG_ISA_ARCV2) += memcpy-archs.o memset-archs.o strcmp-archs.o