Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | # |
| 2 | # Makefile for arch/parisc/kernel |
| 3 | # |
| 4 | |
| 5 | extra-y := head.o vmlinux.lds |
| 6 | |
| 7 | obj-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 \ |
| 9 | ptrace.o hardware.o inventory.o drivers.o \ |
| 10 | 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 | |
| 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 |
| 18 | CFLAGS_REMOVE_irq.o = -pg |
| 19 | CFLAGS_REMOVE_pacache.o = -pg |
| 20 | CFLAGS_REMOVE_perf.o = -pg |
| 21 | CFLAGS_REMOVE_traps.o = -pg |
| 22 | CFLAGS_REMOVE_unaligned.o = -pg |
| 23 | CFLAGS_REMOVE_unwind.o = -pg |
| 24 | endif |
| 25 | |
| 26 | obj-$(CONFIG_SMP) += smp.o |
| 27 | obj-$(CONFIG_PA11) += pci-dma.o |
| 28 | obj-$(CONFIG_PCI) += pci.o |
| 29 | obj-$(CONFIG_MODULES) += module.o |
| 30 | obj-$(CONFIG_64BIT) += binfmt_elf32.o sys_parisc32.o signal32.o |
| 31 | obj-$(CONFIG_STACKTRACE)+= stacktrace.o |
| 32 | obj-$(CONFIG_AUDIT) += audit.o |
| 33 | obj64-$(CONFIG_AUDIT) += compat_audit.o |
| 34 | # only supported for PCX-W/U in 64-bit mode at the moment |
| 35 | obj-$(CONFIG_64BIT) += perf.o perf_asm.o $(obj64-y) |
| 36 | obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o |
| 37 | obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o |