diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-02-28 01:14:37 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-04-01 05:30:41 +0200 |
commit | da9a1c10e2c7311e923210b6ccd9fbd1ac9132df (patch) | |
tree | be0aa14d776e4c70b05744913240d1f6d33e9a7d /arch/powerpc/kernel/ptrace/Makefile | |
parent | powerpc/64/syscall: Reconcile interrupts (diff) | |
download | linux-da9a1c10e2c7311e923210b6ccd9fbd1ac9132df.tar.xz linux-da9a1c10e2c7311e923210b6ccd9fbd1ac9132df.zip |
powerpc: Move ptrace into a subdirectory.
In order to allow splitting of ptrace depending on the different
CONFIG_ options, create a subdirectory dedicated to ptrace and move
ptrace.c and ptrace32.c into it.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9ebcbe37834e9d447dd97f4381084795a673260c.1582848567.git.christophe.leroy@c-s.fr
Diffstat (limited to 'arch/powerpc/kernel/ptrace/Makefile')
-rw-r--r-- | arch/powerpc/kernel/ptrace/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ptrace/Makefile b/arch/powerpc/kernel/ptrace/Makefile new file mode 100644 index 000000000000..02fb28eb3b55 --- /dev/null +++ b/arch/powerpc/kernel/ptrace/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' + +obj-y += ptrace.o +obj-$(CONFIG_PPC64) += ptrace32.o |