Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #
  2. # arch/blackfin/kernel/Makefile
  3. #
  4. extra-y := vmlinux.lds
  5. obj-y := \
  6. entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \
  7. sys_bfin.o traps.o irqchip.o dma-mapping.o flat.o \
  8. fixed_code.o reboot.o bfin_dma.o \
  9. exception.o dumpstack.o
  10. ifeq ($(CONFIG_GENERIC_CLOCKEVENTS),y)
  11. obj-y += time-ts.o
  12. else
  13. obj-y += time.o
  14. endif
  15. obj-$(CONFIG_GPIO_ADI) += bfin_gpio.o
  16. obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
  17. obj-$(CONFIG_FUNCTION_TRACER) += ftrace-entry.o
  18. obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
  19. CFLAGS_REMOVE_ftrace.o = -pg
  20. obj-$(CONFIG_IPIPE) += ipipe.o
  21. obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o
  22. obj-$(CONFIG_CPLB_INFO) += cplbinfo.o
  23. obj-$(CONFIG_MODULES) += module.o
  24. obj-$(CONFIG_KGDB) += kgdb.o
  25. obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o
  26. obj-$(CONFIG_NMI_WATCHDOG) += nmi.o
  27. obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  28. obj-$(CONFIG_EARLY_PRINTK) += shadow_console.o
  29. obj-$(CONFIG_STACKTRACE) += stacktrace.o
  30. obj-$(CONFIG_DEBUG_VERBOSE) += trace.o
  31. obj-$(CONFIG_BFIN_PSEUDODBG_INSNS) += pseudodbg.o
  32. obj-$(CONFIG_PERF_EVENTS) += perf_event.o
  33. # the kgdb test puts code into L2 and without linker
  34. # relaxation, we need to force long calls to/from it
  35. CFLAGS_kgdb_test.o := -mlong-calls
  36. obj-$(CONFIG_DEBUG_MMRS) += debug-mmrs.o