blob: ff87b4603e3dc7d2b60caa2a0047e3eada177397 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for arch/parisc/kernel
3#
4
Thomas Gleixner481f93b2012-05-07 11:28:13 +02005extra-y := head.o vmlinux.lds
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
Linus Torvalds1da177e2005-04-16 15:20:36 -07007obj-y := cache.o pacache.o setup.o traps.o time.o irq.o \
8 pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
Matthew Wilcox64ac24e2008-03-07 21:55:58 -05009 ptrace.o hardware.o inventory.o drivers.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
11 process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
12 topology.o
13
Helge Dellerd75f0542009-02-09 00:43:36 +010014ifdef CONFIG_FUNCTION_TRACER
15# Do not profile debug and lowlevel utilities
16CFLAGS_REMOVE_ftrace.o = -pg
17CFLAGS_REMOVE_cache.o = -pg
18CFLAGS_REMOVE_irq.o = -pg
19CFLAGS_REMOVE_pacache.o = -pg
20CFLAGS_REMOVE_perf.o = -pg
21CFLAGS_REMOVE_traps.o = -pg
22CFLAGS_REMOVE_unaligned.o = -pg
23CFLAGS_REMOVE_unwind.o = -pg
24endif
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026obj-$(CONFIG_SMP) += smp.o
27obj-$(CONFIG_PA11) += pci-dma.o
28obj-$(CONFIG_PCI) += pci.o
29obj-$(CONFIG_MODULES) += module.o
Christoph Hellwige6a6d2e2006-01-09 20:52:14 -080030obj-$(CONFIG_64BIT) += binfmt_elf32.o sys_parisc32.o signal32.o
Helge Deller548f1172009-02-06 21:50:39 +010031obj-$(CONFIG_STACKTRACE)+= stacktrace.o
Helge Deller527973c2013-10-15 19:25:46 +020032obj-$(CONFIG_AUDIT) += audit.o
33obj64-$(CONFIG_AUDIT) += compat_audit.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070034# only supported for PCX-W/U in 64-bit mode at the moment
Helge Deller527973c2013-10-15 19:25:46 +020035obj-$(CONFIG_64BIT) += perf.o perf_asm.o $(obj64-y)
Helge Dellerd75f0542009-02-09 00:43:36 +010036obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
37obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o