xref: /openbmc/linux/arch/m68k/lib/Makefile (revision b2441318)
1# SPDX-License-Identifier: GPL-2.0
2
3#
4# Makefile for m68k-specific library files..
5#
6
7lib-y	:= ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \
8	   memcpy.o memset.o memmove.o
9
10lib-$(CONFIG_MMU) += uaccess.o
11lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += mulsi3.o divsi3.o udivsi3.o
12lib-$(CONFIG_CPU_HAS_NO_MULDIV64) += modsi3.o umodsi3.o
13
14ifndef CONFIG_GENERIC_CSUM
15lib-y	+= checksum.o
16endif
17
18