138f9ddf4SPaul Mundt# 238f9ddf4SPaul Mundt# Makefile for the Linux/SuperH kernel. 338f9ddf4SPaul Mundt# 438f9ddf4SPaul Mundt 541fe22f6SThomas Gleixnerextra-y := head_$(BITS).o vmlinux.lds 638f9ddf4SPaul Mundt 738f9ddf4SPaul Mundtifdef CONFIG_FUNCTION_TRACER 838f9ddf4SPaul Mundt# Do not profile debug and lowlevel utilities 938f9ddf4SPaul MundtCFLAGS_REMOVE_ftrace.o = -pg 1050552355SPaul Mundtendif 1138f9ddf4SPaul Mundt 12c8afde7fSPaul MundtCFLAGS_REMOVE_return_address.o = -pg 13c8afde7fSPaul Mundt 146d803ba7SJean-Christop PLAGNIOL-VILLARDobj-y := debugtraps.o dma-nommu.o dumpstack.o \ 153f224f4eSPaul Mundt idle.o io.o irq.o irq_$(BITS).o kdebugfs.o \ 163f224f4eSPaul Mundt machvec.o nmi_debug.o process.o \ 17eaaaeef3SPaul Mundt process_$(BITS).o ptrace.o ptrace_$(BITS).o \ 18fbb82b03SPaul Mundt reboot.o return_address.o \ 197147e215SAl Viro setup.o signal_$(BITS).o sys_sh.o \ 201e1030dcSPaul Mundt syscalls_$(BITS).o time.o topology.o traps.o \ 211e1030dcSPaul Mundt traps_$(BITS).o unwinder.o 2238f9ddf4SPaul Mundt 2337b7a978SPaul Mundtifndef CONFIG_GENERIC_IOMAP 2437b7a978SPaul Mundtobj-y += iomap.o 25*ce816fa8SUwe Kleine-Königobj-$(CONFIG_HAS_IOPORT_MAP) += ioport.o 2637b7a978SPaul Mundtendif 2737b7a978SPaul Mundt 287147e215SAl Viroobj-$(CONFIG_SUPERH32) += sys_sh32.o 2938f9ddf4SPaul Mundtobj-y += cpu/ 3038f9ddf4SPaul Mundtobj-$(CONFIG_VSYSCALL) += vsyscall/ 3138f9ddf4SPaul Mundtobj-$(CONFIG_SMP) += smp.o 32776258dfSPaul Mundtobj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o 3338f9ddf4SPaul Mundtobj-$(CONFIG_KGDB) += kgdb.o 3438f9ddf4SPaul Mundtobj-$(CONFIG_MODULES) += sh_ksyms_$(BITS).o module.o 3538f9ddf4SPaul Mundtobj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o 3638f9ddf4SPaul Mundtobj-$(CONFIG_CRASH_DUMP) += crash_dump.o 3738f9ddf4SPaul Mundtobj-$(CONFIG_STACKTRACE) += stacktrace.o 3838f9ddf4SPaul Mundtobj-$(CONFIG_IO_TRAPPED) += io_trapped.o 3938f9ddf4SPaul Mundtobj-$(CONFIG_KPROBES) += kprobes.o 4038f9ddf4SPaul Mundtobj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o 4138f9ddf4SPaul Mundtobj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o 4238f9ddf4SPaul Mundtobj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o 4338f9ddf4SPaul Mundtobj-$(CONFIG_DUMP_CODE) += disassemble.o 4438f9ddf4SPaul Mundtobj-$(CONFIG_HIBERNATION) += swsusp.o 4538f9ddf4SPaul Mundtobj-$(CONFIG_DWARF_UNWINDER) += dwarf.o 46830fafecSPaul Mundtobj-$(CONFIG_PERF_EVENTS) += perf_event.o perf_callchain.o 4738f9ddf4SPaul Mundt 4809a07294SPaul Mundtobj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o 4938f9ddf4SPaul Mundtobj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += localtimer.o 5038f9ddf4SPaul Mundt 51a234ca0fSmatt mooneyccflags-y := -Werror 52