Linux 5.8-rc4
[linux/fpc-iii.git] / arch / parisc / kernel / Makefile
blob068d90950d9378e0a50e13d531c6c16cd85751d7
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for arch/parisc/kernel
6 extra-y := head.o vmlinux.lds
8 obj-y := cache.o pacache.o setup.o pdt.o traps.o time.o irq.o \
9 pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
10 ptrace.o hardware.o inventory.o drivers.o alternative.o \
11 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
12 process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
13 patch.o
15 ifdef CONFIG_FUNCTION_TRACER
16 # Do not profile debug and lowlevel utilities
17 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
18 CFLAGS_REMOVE_cache.o = $(CC_FLAGS_FTRACE)
19 CFLAGS_REMOVE_perf.o = $(CC_FLAGS_FTRACE)
20 CFLAGS_REMOVE_unwind.o = $(CC_FLAGS_FTRACE)
21 CFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE)
22 endif
24 obj-$(CONFIG_SMP) += smp.o
25 obj-$(CONFIG_PA11) += pci-dma.o
26 obj-$(CONFIG_PCI) += pci.o
27 obj-$(CONFIG_MODULES) += module.o
28 obj-$(CONFIG_64BIT) += sys_parisc32.o signal32.o
29 obj-$(CONFIG_STACKTRACE)+= stacktrace.o
30 obj-$(CONFIG_AUDIT) += audit.o
31 obj64-$(CONFIG_AUDIT) += compat_audit.o
32 # only supported for PCX-W/U in 64-bit mode at the moment
33 obj-$(CONFIG_64BIT) += perf.o perf_asm.o $(obj64-y)
34 obj-$(CONFIG_PARISC_CPU_TOPOLOGY) += topology.o
35 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
36 obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
37 obj-$(CONFIG_JUMP_LABEL) += jump_label.o
38 obj-$(CONFIG_KGDB) += kgdb.o
39 obj-$(CONFIG_KPROBES) += kprobes.o
40 obj-$(CONFIG_KEXEC_CORE) += kexec.o relocate_kernel.o
41 obj-$(CONFIG_KEXEC_FILE) += kexec_file.o