xref: /openbmc/linux/arch/microblaze/kernel/Makefile (revision 6240bd89)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
25f8ffb5fSMichal Simek#
35f8ffb5fSMichal Simek# Makefile
45f8ffb5fSMichal Simek#
55f8ffb5fSMichal Simek
62fd7c761SMichal Simekifdef CONFIG_FUNCTION_TRACER
72fd7c761SMichal Simek# Do not trace early boot code and low level code
82fd7c761SMichal SimekCFLAGS_REMOVE_timer.o = -pg
92fd7c761SMichal SimekCFLAGS_REMOVE_intc.o = -pg
102fd7c761SMichal SimekCFLAGS_REMOVE_ftrace.o = -pg
119e1491deSMichal SimekCFLAGS_REMOVE_process.o = -pg
122fd7c761SMichal Simekendif
132fd7c761SMichal Simek
14*32164845SMasahiro Yamadaextra-y := vmlinux.lds
155f8ffb5fSMichal Simek
16*32164845SMasahiro Yamadaobj-y += head.o dma.o exceptions.o \
170547dc78SZubair Lutfullah Kakakhel	hw_exception_handler.o irq.o \
1845df561aSRob Herring	process.o prom.o ptrace.o \
19ce3266c0SSteven J. Magnani	reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
205f8ffb5fSMichal Simek
215f8ffb5fSMichal Simekobj-y += cpu/
225f8ffb5fSMichal Simek
235f8ffb5fSMichal Simekobj-$(CONFIG_MODULES)		+= microblaze_ksyms.o module.o
2405cdf457SMichal Simekobj-y				+= misc.o
2524b45a12SMichal Simekobj-$(CONFIG_STACKTRACE)	+= stacktrace.o
267d241ff0SMichal Simekobj-$(CONFIG_FUNCTION_TRACER)	+= ftrace.o mcount.o
272d5973cbSMichal Simekobj-$(CONFIG_KGDB)		+= kgdb.o
285f8ffb5fSMichal Simek
2905cdf457SMichal Simekobj-y	+= entry.o
30