Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / microblaze / kernel / Makefile
blob85c4d29ef43e9e3435619b4702c4d96f7c23bbec
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile
6 ifdef CONFIG_FUNCTION_TRACER
7 # Do not trace early boot code and low level code
8 CFLAGS_REMOVE_timer.o = -pg
9 CFLAGS_REMOVE_intc.o = -pg
10 CFLAGS_REMOVE_ftrace.o = -pg
11 CFLAGS_REMOVE_process.o = -pg
12 endif
14 extra-y := vmlinux.lds
16 obj-y += head.o dma.o exceptions.o \
17 hw_exception_handler.o irq.o \
18 process.o prom.o ptrace.o \
19 reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
21 obj-y += cpu/
23 obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
24 obj-y += misc.o
25 obj-$(CONFIG_STACKTRACE) += stacktrace.o
26 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
27 obj-$(CONFIG_KGDB) += kgdb.o
29 obj-y += entry.o