2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for arch/parisc/kernel
|
|
|
|
#
|
|
|
|
|
2012-05-07 17:28:13 +08:00
|
|
|
extra-y := head.o vmlinux.lds
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
obj-y := cache.o pacache.o setup.o traps.o time.o irq.o \
|
|
|
|
pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
|
2008-03-08 10:55:58 +08:00
|
|
|
ptrace.o hardware.o inventory.o drivers.o \
|
2005-04-17 06:20:36 +08:00
|
|
|
signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
|
|
|
|
process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
|
|
|
|
topology.o
|
|
|
|
|
2009-02-09 07:43:36 +08:00
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
# Do not profile debug and lowlevel utilities
|
|
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
|
|
|
CFLAGS_REMOVE_cache.o = -pg
|
|
|
|
CFLAGS_REMOVE_irq.o = -pg
|
|
|
|
CFLAGS_REMOVE_pacache.o = -pg
|
|
|
|
CFLAGS_REMOVE_perf.o = -pg
|
|
|
|
CFLAGS_REMOVE_traps.o = -pg
|
|
|
|
CFLAGS_REMOVE_unaligned.o = -pg
|
|
|
|
CFLAGS_REMOVE_unwind.o = -pg
|
|
|
|
endif
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
|
|
obj-$(CONFIG_PA11) += pci-dma.o
|
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
|
|
obj-$(CONFIG_MODULES) += module.o
|
2006-01-10 12:52:14 +08:00
|
|
|
obj-$(CONFIG_64BIT) += binfmt_elf32.o sys_parisc32.o signal32.o
|
2009-02-07 04:50:39 +08:00
|
|
|
obj-$(CONFIG_STACKTRACE)+= stacktrace.o
|
2005-04-17 06:20:36 +08:00
|
|
|
# only supported for PCX-W/U in 64-bit mode at the moment
|
|
|
|
obj-$(CONFIG_64BIT) += perf.o perf_asm.o
|
2009-02-09 07:43:36 +08:00
|
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
|
|
|
|
obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
|