Makefile 1.1 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3 4 5
#
# Makefile for arch/parisc/kernel
#

T
Thomas Gleixner 已提交
6
extra-y			:= head.o vmlinux.lds
L
Linus Torvalds 已提交
7

8
obj-y	     	:= cache.o pacache.o setup.o pdt.o traps.o time.o irq.o \
L
Linus Torvalds 已提交
9
		   pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
10
		   ptrace.o hardware.o inventory.o drivers.o \
L
Linus Torvalds 已提交
11
		   signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
H
Helge Deller 已提交
12
		   process.o processor.o pdc_cons.o pdc_chassis.o unwind.o
L
Linus Torvalds 已提交
13

14 15 16 17 18 19 20 21
ifdef CONFIG_FUNCTION_TRACER
# Do not profile debug and lowlevel utilities
CFLAGS_REMOVE_ftrace.o = -pg
CFLAGS_REMOVE_cache.o = -pg
CFLAGS_REMOVE_perf.o = -pg
CFLAGS_REMOVE_unwind.o = -pg
endif

L
Linus Torvalds 已提交
22 23 24 25
obj-$(CONFIG_SMP)	+= smp.o
obj-$(CONFIG_PA11)	+= pci-dma.o
obj-$(CONFIG_PCI)	+= pci.o
obj-$(CONFIG_MODULES)	+= module.o
26
obj-$(CONFIG_64BIT)	+= sys_parisc32.o signal32.o
27
obj-$(CONFIG_STACKTRACE)+= stacktrace.o
H
Helge Deller 已提交
28 29
obj-$(CONFIG_AUDIT)	+= audit.o
obj64-$(CONFIG_AUDIT)	+= compat_audit.o
L
Linus Torvalds 已提交
30
# only supported for PCX-W/U in 64-bit mode at the moment
H
Helge Deller 已提交
31
obj-$(CONFIG_64BIT)	+= perf.o perf_asm.o $(obj64-y)
H
Helge Deller 已提交
32
obj-$(CONFIG_PARISC_CPU_TOPOLOGY)	+= topology.o
33 34
obj-$(CONFIG_FUNCTION_TRACER)		+= ftrace.o
obj-$(CONFIG_FUNCTION_GRAPH_TRACER)	+= ftrace.o