1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for arch/parisc/kernel 4# 5 6extra-y := head.o vmlinux.lds 7 8obj-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 14 15ifdef CONFIG_FUNCTION_TRACER 16# Do not profile debug and lowlevel utilities 17CFLAGS_REMOVE_ftrace.o = -pg 18CFLAGS_REMOVE_cache.o = -pg 19CFLAGS_REMOVE_perf.o = -pg 20CFLAGS_REMOVE_unwind.o = -pg 21endif 22 23obj-$(CONFIG_SMP) += smp.o 24obj-$(CONFIG_PA11) += pci-dma.o 25obj-$(CONFIG_PCI) += pci.o 26obj-$(CONFIG_MODULES) += module.o 27obj-$(CONFIG_64BIT) += sys_parisc32.o signal32.o 28obj-$(CONFIG_STACKTRACE)+= stacktrace.o 29obj-$(CONFIG_AUDIT) += audit.o 30obj64-$(CONFIG_AUDIT) += compat_audit.o 31# only supported for PCX-W/U in 64-bit mode at the moment 32obj-$(CONFIG_64BIT) += perf.o perf_asm.o $(obj64-y) 33obj-$(CONFIG_PARISC_CPU_TOPOLOGY) += topology.o 34obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o 35obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o 36obj-$(CONFIG_JUMP_LABEL) += jump_label.o 37obj-$(CONFIG_KGDB) += kgdb.o 38obj-$(CONFIG_KPROBES) += kprobes.o 39