• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_heartbeat.o = -pg
12CFLAGS_REMOVE_ftrace.o = -pg
13CFLAGS_REMOVE_process.o = -pg
14endif
15
16extra-y := head.o vmlinux.lds
17
18obj-y += dma.o exceptions.o \
19	hw_exception_handler.o irq.o \
20	platform.o process.o prom.o ptrace.o \
21	reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
22
23obj-y += cpu/
24
25obj-$(CONFIG_EARLY_PRINTK)	+= early_printk.o
26obj-$(CONFIG_HEART_BEAT)	+= heartbeat.o
27obj-$(CONFIG_MODULES)		+= microblaze_ksyms.o module.o
28obj-$(CONFIG_MMU)		+= misc.o
29obj-$(CONFIG_STACKTRACE)	+= stacktrace.o
30obj-$(CONFIG_FUNCTION_TRACER)	+= ftrace.o mcount.o
31obj-$(CONFIG_KGDB)		+= kgdb.o
32
33obj-y	+= entry$(MMU).o
34