1da9a1c10SChristophe Leroy# SPDX-License-Identifier: GPL-2.0
2da9a1c10SChristophe Leroy#
3da9a1c10SChristophe Leroy# Makefile for the linux kernel.
4da9a1c10SChristophe Leroy#
5da9a1c10SChristophe Leroy
66e0b7975SChristophe LeroyCFLAGS_ptrace-view.o		+= -DUTS_MACHINE='"$(UTS_MACHINE)"'
7da9a1c10SChristophe Leroy
86e0b7975SChristophe Leroyobj-y				+= ptrace.o ptrace-view.o
9da9a1c10SChristophe Leroyobj-$(CONFIG_PPC64)		+= ptrace32.o
107b99ed4eSChristophe Leroyobj-$(CONFIG_VSX)		+= ptrace-vsx.o
117b99ed4eSChristophe Leroyifneq ($(CONFIG_VSX),y)
127b99ed4eSChristophe Leroyobj-y				+= ptrace-novsx.o
137b99ed4eSChristophe Leroyendif
141b20773bSChristophe Leroyobj-$(CONFIG_ALTIVEC)		+= ptrace-altivec.o
1560ef9dbdSChristophe Leroyobj-$(CONFIG_SPE)		+= ptrace-spe.o
167c1f8db0SChristophe Leroyobj-$(CONFIG_PPC_TRANSACTIONAL_MEM)	+= ptrace-tm.o
17323a780cSChristophe Leroyobj-$(CONFIG_PPC_ADV_DEBUG_REGS)	+= ptrace-adv.o
18323a780cSChristophe Leroyifneq ($(CONFIG_PPC_ADV_DEBUG_REGS),y)
19323a780cSChristophe Leroyobj-y				+= ptrace-noadv.o
20323a780cSChristophe Leroyendif
21