Makefile (705B)
1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile 4# 5 6ifdef CONFIG_FUNCTION_TRACER 7# Do not trace early boot code and low level code 8CFLAGS_REMOVE_timer.o = -pg 9CFLAGS_REMOVE_intc.o = -pg 10CFLAGS_REMOVE_early_printk.o = -pg 11CFLAGS_REMOVE_ftrace.o = -pg 12CFLAGS_REMOVE_process.o = -pg 13endif 14 15extra-y := head.o vmlinux.lds 16 17obj-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 21 22obj-y += cpu/ 23 24obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o 25obj-y += misc.o 26obj-$(CONFIG_STACKTRACE) += stacktrace.o 27obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o 28obj-$(CONFIG_KGDB) += kgdb.o 29 30obj-y += entry.o