1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CFLAGS_ptrace-view.o		+= -DUTS_MACHINE='"$(UTS_MACHINE)"'
7
8obj-y				+= ptrace.o ptrace-view.o
9obj-y				+= ptrace-fpu.o
10obj-$(CONFIG_COMPAT)		+= ptrace32.o
11obj-$(CONFIG_VSX)		+= ptrace-vsx.o
12ifneq ($(CONFIG_VSX),y)
13obj-y				+= ptrace-novsx.o
14endif
15obj-$(CONFIG_ALTIVEC)		+= ptrace-altivec.o
16obj-$(CONFIG_SPE)		+= ptrace-spe.o
17obj-$(CONFIG_PPC_TRANSACTIONAL_MEM)	+= ptrace-tm.o
18obj-$(CONFIG_PPC_ADV_DEBUG_REGS)	+= ptrace-adv.o
19ifneq ($(CONFIG_PPC_ADV_DEBUG_REGS),y)
20obj-y				+= ptrace-noadv.o
21endif
22