xref: /linux/arch/parisc/kernel/Makefile (revision 32164845)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for arch/parisc/kernel
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6*32164845SMasahiro Yamadaextra-y		:= vmlinux.lds
71da177e4SLinus Torvalds
8*32164845SMasahiro Yamadaobj-y		:= head.o cache.o pacache.o setup.o pdt.o traps.o time.o irq.o \
91da177e4SLinus Torvalds		   pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
108cc28269SHelge Deller		   ptrace.o hardware.o inventory.o drivers.o alternative.o \
111da177e4SLinus Torvalds		   signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
12620a53d5SSven Schnelle		   process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
13d6ab9fc7SHelge Deller		   patch.o toc.o toc_asm.o
141da177e4SLinus Torvalds
15d75f054aSHelge Dellerifdef CONFIG_FUNCTION_TRACER
16d75f054aSHelge Deller# Do not profile debug and lowlevel utilities
176ca63662SSven SchnelleCFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
186ca63662SSven SchnelleCFLAGS_REMOVE_cache.o =  $(CC_FLAGS_FTRACE)
196ca63662SSven SchnelleCFLAGS_REMOVE_perf.o = $(CC_FLAGS_FTRACE)
206ca63662SSven SchnelleCFLAGS_REMOVE_unwind.o = $(CC_FLAGS_FTRACE)
216ca63662SSven SchnelleCFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE)
22d75f054aSHelge Dellerendif
23d75f054aSHelge Deller
241da177e4SLinus Torvaldsobj-$(CONFIG_SMP)	+= smp.o
251da177e4SLinus Torvaldsobj-$(CONFIG_PA11)	+= pci-dma.o
261da177e4SLinus Torvaldsobj-$(CONFIG_PCI)	+= pci.o
271da177e4SLinus Torvaldsobj-$(CONFIG_MODULES)	+= module.o
28c7cd8824SHelge Dellerobj-$(CONFIG_64BIT)	+= sys_parisc32.o signal32.o
29548f1176SHelge Dellerobj-$(CONFIG_STACKTRACE)+= stacktrace.o
30527973c8SHelge Dellerobj-$(CONFIG_AUDIT)	+= audit.o
31527973c8SHelge Dellerobj64-$(CONFIG_AUDIT)	+= compat_audit.o
321da177e4SLinus Torvalds# only supported for PCX-W/U in 64-bit mode at the moment
33527973c8SHelge Dellerobj-$(CONFIG_64BIT)	+= perf.o perf_asm.o $(obj64-y)
3462773112SHelge Dellerobj-$(CONFIG_GENERIC_ARCH_TOPOLOGY)	+= topology.o
35d75f054aSHelge Dellerobj-$(CONFIG_FUNCTION_TRACER)		+= ftrace.o
36d75f054aSHelge Dellerobj-$(CONFIG_FUNCTION_GRAPH_TRACER)	+= ftrace.o
3762217bebSHelge Dellerobj-$(CONFIG_JUMP_LABEL)		+= jump_label.o
38eacbfce1SSven Schnelleobj-$(CONFIG_KGDB)			+= kgdb.o
398858ac8eSSven Schnelleobj-$(CONFIG_KPROBES)			+= kprobes.o
40e16260c2SSven Schnelleobj-$(CONFIG_KEXEC_CORE)		+= kexec.o relocate_kernel.o
411191cf49SSven Schnelleobj-$(CONFIG_KEXEC_FILE)		+= kexec_file.o
42df24e178SHelge Deller
43df24e178SHelge Deller# vdso
44df24e178SHelge Dellerobj-y			+= vdso.o
45df24e178SHelge Dellerobj-$(CONFIG_64BIT)	+= vdso64/
46df24e178SHelge Dellerobj-y			+= vdso32/
47