Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for arch/parisc/kernel |
| 4 | # |
| 5 | |
Thomas Gleixner | 481f93b | 2012-05-07 11:28:13 +0200 | [diff] [blame] | 6 | extra-y := head.o vmlinux.lds |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
Helge Deller | c9c2877 | 2017-05-11 22:24:15 +0200 | [diff] [blame] | 8 | obj-y := cache.o pacache.o setup.o pdt.o traps.o time.o irq.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \ |
Matthew Wilcox | 64ac24e | 2008-03-07 21:55:58 -0500 | [diff] [blame] | 10 | ptrace.o hardware.o inventory.o drivers.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \ |
Helge Deller | bf7b4c1 | 2017-09-21 21:55:01 +0200 | [diff] [blame] | 12 | process.o processor.o pdc_cons.o pdc_chassis.o unwind.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Helge Deller | d75f054 | 2009-02-09 00:43:36 +0100 | [diff] [blame] | 14 | ifdef CONFIG_FUNCTION_TRACER |
| 15 | # Do not profile debug and lowlevel utilities |
| 16 | CFLAGS_REMOVE_ftrace.o = -pg |
| 17 | CFLAGS_REMOVE_cache.o = -pg |
Helge Deller | d75f054 | 2009-02-09 00:43:36 +0100 | [diff] [blame] | 18 | CFLAGS_REMOVE_perf.o = -pg |
Helge Deller | d75f054 | 2009-02-09 00:43:36 +0100 | [diff] [blame] | 19 | CFLAGS_REMOVE_unwind.o = -pg |
| 20 | endif |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_SMP) += smp.o |
| 23 | obj-$(CONFIG_PA11) += pci-dma.o |
| 24 | obj-$(CONFIG_PCI) += pci.o |
| 25 | obj-$(CONFIG_MODULES) += module.o |
Helge Deller | c7cd882 | 2018-04-13 21:54:37 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_64BIT) += sys_parisc32.o signal32.o |
Helge Deller | 548f117 | 2009-02-06 21:50:39 +0100 | [diff] [blame] | 27 | obj-$(CONFIG_STACKTRACE)+= stacktrace.o |
Helge Deller | 527973c | 2013-10-15 19:25:46 +0200 | [diff] [blame] | 28 | obj-$(CONFIG_AUDIT) += audit.o |
| 29 | obj64-$(CONFIG_AUDIT) += compat_audit.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | # only supported for PCX-W/U in 64-bit mode at the moment |
Helge Deller | 527973c | 2013-10-15 19:25:46 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_64BIT) += perf.o perf_asm.o $(obj64-y) |
Helge Deller | bf7b4c1 | 2017-09-21 21:55:01 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_PARISC_CPU_TOPOLOGY) += topology.o |
Helge Deller | d75f054 | 2009-02-09 00:43:36 +0100 | [diff] [blame] | 33 | obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o |
| 34 | obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o |