WIP FPC-III support
[linux/fpc-iii.git] / arch / microblaze / kernel / Makefile
blob15a20eb814cef263976023c4bcee4823407a5cfe
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_early_printk.o = -pg
11 CFLAGS_REMOVE_ftrace.o = -pg
12 CFLAGS_REMOVE_process.o = -pg
13 endif
15 extra-y := head.o vmlinux.lds
17 obj-y += dma.o exceptions.o \
18 hw_exception_handler.o irq.o \
19 process.o prom.o ptrace.o \
20 reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
22 obj-y += cpu/
24 obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
25 obj-y += misc.o
26 obj-$(CONFIG_STACKTRACE) += stacktrace.o
27 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
28 obj-$(CONFIG_KGDB) += kgdb.o
30 obj-y += entry.o