Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Makefile for arch/parisc/kernel
  3. #
  4. extra-y := head.o vmlinux.lds
  5. obj-y := cache.o pacache.o setup.o traps.o time.o irq.o \
  6. pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
  7. ptrace.o hardware.o inventory.o drivers.o \
  8. signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
  9. process.o processor.o pdc_cons.o pdc_chassis.o unwind.o \
  10. topology.o
  11. ifdef CONFIG_FUNCTION_TRACER
  12. # Do not profile debug and lowlevel utilities
  13. CFLAGS_REMOVE_ftrace.o = -pg
  14. CFLAGS_REMOVE_cache.o = -pg
  15. CFLAGS_REMOVE_perf.o = -pg
  16. CFLAGS_REMOVE_unwind.o = -pg
  17. endif
  18. obj-$(CONFIG_SMP) += smp.o
  19. obj-$(CONFIG_PA11) += pci-dma.o
  20. obj-$(CONFIG_PCI) += pci.o
  21. obj-$(CONFIG_MODULES) += module.o
  22. obj-$(CONFIG_64BIT) += binfmt_elf32.o sys_parisc32.o signal32.o
  23. obj-$(CONFIG_STACKTRACE)+= stacktrace.o
  24. obj-$(CONFIG_AUDIT) += audit.o
  25. obj64-$(CONFIG_AUDIT) += compat_audit.o
  26. # only supported for PCX-W/U in 64-bit mode at the moment
  27. obj-$(CONFIG_64BIT) += perf.o perf_asm.o $(obj64-y)
  28. obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
  29. obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o