1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux/TILE kernel.
6 extra-y
:= vmlinux.lds head_
$(BITS
).o
7 obj-y
:= backtrace.o entry.o hvglue.o irq.o messaging.o \
8 pci-dma.o proc.o process.o ptrace.o reboot.o \
9 setup.o signal.o single_step.o stack.o sys.o \
10 sysfs.o time.o traps.o unaligned.o vdso.o \
11 intvec_
$(BITS
).o regs_
$(BITS
).o tile-desc_
$(BITS
).o
13 ifdef CONFIG_FUNCTION_TRACER
14 CFLAGS_REMOVE_ftrace.o
= -pg
15 CFLAGS_REMOVE_early_printk.o
= -pg
18 obj-
$(CONFIG_HARDWALL
) += hardwall.o
19 obj-
$(CONFIG_COMPAT
) += compat.o compat_signal.o
20 obj-
$(CONFIG_SMP
) += smpboot.o smp.o tlb.o
21 obj-
$(CONFIG_MODULES
) += module.o
22 obj-
$(CONFIG_EARLY_PRINTK
) += early_printk.o
23 obj-
$(CONFIG_KEXEC
) += machine_kexec.o relocate_kernel_
$(BITS
).o
25 obj-
$(CONFIG_PCI
) += pci_gx.o
27 obj-
$(CONFIG_PCI
) += pci.o
29 obj-
$(CONFIG_PERF_EVENTS
) += perf_event.o
30 obj-
$(CONFIG_USE_PMC
) += pmc.o
31 obj-
$(CONFIG_TILE_USB
) += usb.o
32 obj-
$(CONFIG_TILE_HVGLUE_TRACE
) += hvglue_trace.o
33 obj-
$(CONFIG_FUNCTION_TRACER
) += ftrace.o mcount_64.o
34 obj-
$(CONFIG_KPROBES
) += kprobes.o
35 obj-
$(CONFIG_KGDB
) += kgdb.o
36 obj-
$(CONFIG_JUMP_LABEL
) += jump_label.o