mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 01:36:48 +07:00
8d61dd7d3e
Add perf support for tile architecture. Signed-off-by: Zhigang Lu <zlu@tilera.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
#
|
|
# Makefile for the Linux/TILE kernel.
|
|
#
|
|
|
|
extra-y := vmlinux.lds head_$(BITS).o
|
|
obj-y := backtrace.o entry.o hvglue.o irq.o messaging.o \
|
|
pci-dma.o proc.o process.o ptrace.o reboot.o \
|
|
setup.o signal.o single_step.o stack.o sys.o \
|
|
sysfs.o time.o traps.o unaligned.o vdso.o \
|
|
intvec_$(BITS).o regs_$(BITS).o tile-desc_$(BITS).o
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
|
CFLAGS_REMOVE_early_printk.o = -pg
|
|
endif
|
|
|
|
obj-$(CONFIG_HARDWALL) += hardwall.o
|
|
obj-$(CONFIG_COMPAT) += compat.o compat_signal.o
|
|
obj-$(CONFIG_SMP) += smpboot.o smp.o tlb.o
|
|
obj-$(CONFIG_MODULES) += module.o
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel_$(BITS).o
|
|
ifdef CONFIG_TILEGX
|
|
obj-$(CONFIG_PCI) += pci_gx.o
|
|
else
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
endif
|
|
obj-$(CONFIG_PERF_EVENTS) += perf_event.o
|
|
obj-$(CONFIG_USE_PMC) += pmc.o
|
|
obj-$(CONFIG_TILE_USB) += usb.o
|
|
obj-$(CONFIG_TILE_HVGLUE_TRACE) += hvglue_trace.o
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount_64.o
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
|
|
|
obj-y += vdso/
|