summaryrefslogtreecommitdiffstats
path: root/kernel/arch/m68k/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/m68k/lib/Makefile')
-rw-r--r--kernel/arch/m68k/lib/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/arch/m68k/lib/Makefile b/kernel/arch/m68k/lib/Makefile
new file mode 100644
index 000000000..fcd8eb1d7
--- /dev/null
+++ b/kernel/arch/m68k/lib/Makefile
@@ -0,0 +1,16 @@
+
+#
+# Makefile for m68k-specific library files..
+#
+
+lib-y := ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
+ memcpy.o memset.o memmove.o
+
+lib-$(CONFIG_MMU) += uaccess.o
+lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += mulsi3.o divsi3.o udivsi3.o
+lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += modsi3.o umodsi3.o
+
+ifndef CONFIG_GENERIC_CSUM
+lib-y += checksum.o
+endif
+