summaryrefslogtreecommitdiff
path: root/arch/ppc64/lib/Makefile
blob: bf7b5bbfc04e6338a286ff53ecca9b039b78bcf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Makefile for ppc64-specific library files..
#

lib-y := checksum.o dec_and_lock.o string.o strcase.o
lib-y += copypage.o memcpy.o copyuser.o usercopy.o

# Lock primitives are defined as no-ops in include/linux/spinlock.h
# for non-SMP configs. Don't build the real versions.

lib-$(CONFIG_SMP) += locks.o

# e2a provides EBCDIC to ASCII conversions.
ifdef CONFIG_PPC_ISERIES
obj-$(CONFIG_PCI)	+= e2a.o
endif

lib-$(CONFIG_DEBUG_KERNEL) += sstep.o