summaryrefslogtreecommitdiffstats
path: root/arch/csky/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/lib/Makefile')
-rw-r--r--arch/csky/lib/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/csky/lib/Makefile b/arch/csky/lib/Makefile
new file mode 100644
index 000000000..d0ce6e2d7
--- /dev/null
+++ b/arch/csky/lib/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+lib-y := usercopy.o delay.o
+obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
+ifneq ($(CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS), y)
+lib-y += string.o
+endif