Makefile 901 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Makefile
  3. #
  4. ifdef CONFIG_FUNCTION_TRACER
  5. # Do not trace early boot code and low level code
  6. CFLAGS_REMOVE_timer.o = -pg
  7. CFLAGS_REMOVE_intc.o = -pg
  8. CFLAGS_REMOVE_early_printk.o = -pg
  9. CFLAGS_REMOVE_selfmod.o = -pg
  10. CFLAGS_REMOVE_heartbeat.o = -pg
  11. CFLAGS_REMOVE_ftrace.o = -pg
  12. CFLAGS_REMOVE_process.o = -pg
  13. endif
  14. extra-y := head.o vmlinux.lds
  15. obj-y += dma.o exceptions.o \
  16. hw_exception_handler.o init_task.o intc.o irq.o \
  17. process.o prom.o prom_parse.o ptrace.o \
  18. reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
  19. obj-y += cpu/
  20. obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  21. obj-$(CONFIG_SELFMOD) += selfmod.o
  22. obj-$(CONFIG_HEART_BEAT) += heartbeat.o
  23. obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
  24. obj-$(CONFIG_MMU) += misc.o
  25. obj-$(CONFIG_STACKTRACE) += stacktrace.o
  26. obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
  27. obj-$(CONFIG_KGDB) += kgdb.o
  28. obj-y += entry$(MMU).o