Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Makefile for the Linux/TILE kernel.
  3. #
  4. extra-y := vmlinux.lds head_$(BITS).o
  5. obj-y := backtrace.o entry.o hvglue.o irq.o messaging.o \
  6. pci-dma.o proc.o process.o ptrace.o reboot.o \
  7. setup.o signal.o single_step.o stack.o sys.o \
  8. sysfs.o time.o traps.o unaligned.o vdso.o \
  9. intvec_$(BITS).o regs_$(BITS).o tile-desc_$(BITS).o
  10. ifdef CONFIG_FUNCTION_TRACER
  11. CFLAGS_REMOVE_ftrace.o = -pg
  12. CFLAGS_REMOVE_early_printk.o = -pg
  13. endif
  14. obj-$(CONFIG_HARDWALL) += hardwall.o
  15. obj-$(CONFIG_COMPAT) += compat.o compat_signal.o
  16. obj-$(CONFIG_SMP) += smpboot.o smp.o tlb.o
  17. obj-$(CONFIG_MODULES) += module.o
  18. obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  19. obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel_$(BITS).o
  20. ifdef CONFIG_TILEGX
  21. obj-$(CONFIG_PCI) += pci_gx.o
  22. else
  23. obj-$(CONFIG_PCI) += pci.o
  24. endif
  25. obj-$(CONFIG_PERF_EVENTS) += perf_event.o
  26. obj-$(CONFIG_USE_PMC) += pmc.o
  27. obj-$(CONFIG_TILE_USB) += usb.o
  28. obj-$(CONFIG_TILE_HVGLUE_TRACE) += hvglue_trace.o
  29. obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount_64.o
  30. obj-$(CONFIG_KPROBES) += kprobes.o
  31. obj-$(CONFIG_KGDB) += kgdb.o
  32. obj-$(CONFIG_JUMP_LABEL) += jump_label.o
  33. obj-y += vdso/