xref: /openbmc/linux/arch/microblaze/kernel/Makefile (revision 7d241ff0)
15f8ffb5fSMichal Simek#
25f8ffb5fSMichal Simek# Makefile
35f8ffb5fSMichal Simek#
45f8ffb5fSMichal Simek
52fd7c761SMichal Simekifdef CONFIG_FUNCTION_TRACER
62fd7c761SMichal Simek# Do not trace early boot code and low level code
72fd7c761SMichal SimekCFLAGS_REMOVE_timer.o = -pg
82fd7c761SMichal SimekCFLAGS_REMOVE_intc.o = -pg
92fd7c761SMichal SimekCFLAGS_REMOVE_early_printk.o = -pg
102fd7c761SMichal SimekCFLAGS_REMOVE_selfmod.o = -pg
112fd7c761SMichal SimekCFLAGS_REMOVE_heartbeat.o = -pg
122fd7c761SMichal SimekCFLAGS_REMOVE_ftrace.o = -pg
132fd7c761SMichal Simekendif
142fd7c761SMichal Simek
155f8ffb5fSMichal Simekextra-y := head.o vmlinux.lds
165f8ffb5fSMichal Simek
175f8ffb5fSMichal Simekobj-y += exceptions.o \
185f8ffb5fSMichal Simek	hw_exception_handler.o init_task.o intc.o irq.o of_device.o \
195f8ffb5fSMichal Simek	of_platform.o process.o prom.o prom_parse.o ptrace.o \
2042a2478bSMichal Simek	setup.o signal.o sys_microblaze.o timer.o traps.o reset.o
215f8ffb5fSMichal Simek
225f8ffb5fSMichal Simekobj-y += cpu/
235f8ffb5fSMichal Simek
245f8ffb5fSMichal Simekobj-$(CONFIG_EARLY_PRINTK)	+= early_printk.o
255f8ffb5fSMichal Simekobj-$(CONFIG_SELFMOD)		+= selfmod.o
265f8ffb5fSMichal Simekobj-$(CONFIG_HEART_BEAT)	+= heartbeat.o
275f8ffb5fSMichal Simekobj-$(CONFIG_MODULES)		+= microblaze_ksyms.o module.o
284b2368ffSMichal Simekobj-$(CONFIG_MMU)		+= misc.o
2924b45a12SMichal Simekobj-$(CONFIG_STACKTRACE)	+= stacktrace.o
307d241ff0SMichal Simekobj-$(CONFIG_FUNCTION_TRACER)	+= ftrace.o mcount.o
315f8ffb5fSMichal Simek
32950b260eSSam Ravnborgobj-y	+= entry$(MMU).o
33