xref: /linux/arch/parisc/kernel/Makefile (revision 481f93b67b44c762c0a34c4295837f633e869b1a)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for arch/parisc/kernel
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5*481f93b6SThomas Gleixnerextra-y			:= head.o vmlinux.lds
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsobj-y	     	:= cache.o pacache.o setup.o traps.o time.o irq.o \
81da177e4SLinus Torvalds		   pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
964ac24e7SMatthew Wilcox		   ptrace.o hardware.o inventory.o drivers.o \
101da177e4SLinus Torvalds		   signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
111da177e4SLinus Torvalds		   process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
121da177e4SLinus Torvalds		   topology.o
131da177e4SLinus Torvalds
14d75f054aSHelge Dellerifdef CONFIG_FUNCTION_TRACER
15d75f054aSHelge Deller# Do not profile debug and lowlevel utilities
16d75f054aSHelge DellerCFLAGS_REMOVE_ftrace.o = -pg
17d75f054aSHelge DellerCFLAGS_REMOVE_cache.o = -pg
18d75f054aSHelge DellerCFLAGS_REMOVE_irq.o = -pg
19d75f054aSHelge DellerCFLAGS_REMOVE_pacache.o = -pg
20d75f054aSHelge DellerCFLAGS_REMOVE_perf.o = -pg
21d75f054aSHelge DellerCFLAGS_REMOVE_traps.o = -pg
22d75f054aSHelge DellerCFLAGS_REMOVE_unaligned.o = -pg
23d75f054aSHelge DellerCFLAGS_REMOVE_unwind.o = -pg
24d75f054aSHelge Dellerendif
25d75f054aSHelge Deller
261da177e4SLinus Torvaldsobj-$(CONFIG_SMP)	+= smp.o
271da177e4SLinus Torvaldsobj-$(CONFIG_PA11)	+= pci-dma.o
281da177e4SLinus Torvaldsobj-$(CONFIG_PCI)	+= pci.o
291da177e4SLinus Torvaldsobj-$(CONFIG_MODULES)	+= module.o
30e6a6d2efSChristoph Hellwigobj-$(CONFIG_64BIT)	+= binfmt_elf32.o sys_parisc32.o signal32.o
31548f1176SHelge Dellerobj-$(CONFIG_STACKTRACE)+= stacktrace.o
321da177e4SLinus Torvalds# only supported for PCX-W/U in 64-bit mode at the moment
331da177e4SLinus Torvaldsobj-$(CONFIG_64BIT)	+= perf.o perf_asm.o
34d75f054aSHelge Dellerobj-$(CONFIG_FUNCTION_TRACER)		+= ftrace.o
35d75f054aSHelge Dellerobj-$(CONFIG_FUNCTION_GRAPH_TRACER)	+= ftrace.o
36