# # Makefile for the linux kernel. # CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET) AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET) ifdef [31mCONFIG_FUNCTION_TRACER[0m CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_insn.o = -pg CFLAGS_REMOVE_patch.o = -pg endif CFLAGS_REMOVE_return_address.o = -pg # Object file lists. obj-y := elf.o entry-common.o irq.o opcodes.o \ process.o ptrace.o reboot.o return_address.o \ setup.o signal.o sigreturn_codes.o \ stacktrace.o sys_arm.o time.o traps.o obj-$([31mCONFIG_ATAGS[0m) += atags_parse.o obj-$([31mCONFIG_ATAGS_PROC[0m) += atags_proc.o obj-$([31mCONFIG_DEPRECATED_PARAM_STRUCT[0m) += atags_compat.o ifeq ($([31mCONFIG_CPU_V7M[0m),y) obj-y += entry-v7m.o v7m.o else obj-y += entry-armv.o endif obj-$([31mCONFIG_CPU_IDLE[0m) += cpuidle.o obj-$([31mCONFIG_ISA_DMA_API[0m) += dma.o obj-$([31mCONFIG_FIQ[0m) += fiq.o fiqasm.o obj-$([31mCONFIG_MODULES[0m) += armksyms.o module.o obj-$([31mCONFIG_ARM_MODULE_PLTS[0m) += module-plts.o obj-$([31mCONFIG_ISA_DMA[0m) += dma-isa.o obj-$([31mCONFIG_PCI[0m) += bios32.o isa.o obj-$([31mCONFIG_ARM_CPU_SUSPEND[0m) += sleep.o suspend.o obj-$([31mCONFIG_HIBERNATION[0m) += hibernate.o obj-$([31mCONFIG_SMP[0m) += smp.o ifdef [31mCONFIG_MMU[0m obj-$([31mCONFIG_SMP[0m) += smp_tlb.o endif obj-$([31mCONFIG_HAVE_ARM_SCU[0m) += smp_scu.o obj-$([31mCONFIG_HAVE_ARM_TWD[0m) += smp_twd.o obj-$([31mCONFIG_ARM_ARCH_TIMER[0m) += arch_timer.o obj-$([31mCONFIG_FUNCTION_TRACER[0m) += entry-ftrace.o obj-$([31mCONFIG_DYNAMIC_FTRACE[0m) += ftrace.o insn.o obj-$([31mCONFIG_FUNCTION_GRAPH_TRACER[0m) += ftrace.o insn.o obj-$([31mCONFIG_JUMP_LABEL[0m) += jump_label.o insn.o patch.o obj-$([31mCONFIG_KEXEC[0m) += machine_kexec.o relocate_kernel.o # Main staffs in KPROBES are in arch/arm/probes/ . obj-$([31mCONFIG_KPROBES[0m) += patch.o insn.o obj-$([31mCONFIG_OABI_COMPAT[0m) += sys_oabi-compat.o obj-$([31mCONFIG_ARM_THUMBEE[0m) += thumbee.o obj-$([31mCONFIG_KGDB[0m) += kgdb.o patch.o obj-$([31mCONFIG_ARM_UNWIND[0m) += unwind.o obj-$([31mCONFIG_HAVE_TCM[0m) += tcm.o obj-$([31mCONFIG_OF[0m) += devtree.o obj-$([31mCONFIG_CRASH_DUMP[0m) += crash_dump.o obj-$([31mCONFIG_SWP_EMULATE[0m) += swp_emulate.o CFLAGS_swp_emulate.o := -Wa,-march=armv7-a obj-$([31mCONFIG_HAVE_HW_BREAKPOINT[0m) += hw_breakpoint.o obj-$([31mCONFIG_CPU_XSCALE[0m) += xscale-cp0.o obj-$([31mCONFIG_CPU_XSC3[0m) += xscale-cp0.o obj-$([31mCONFIG_CPU_MOHAWK[0m) += xscale-cp0.o obj-$([31mCONFIG_CPU_PJ4[0m) += pj4-cp0.o obj-$([31mCONFIG_CPU_PJ4B[0m) += pj4-cp0.o obj-$([31mCONFIG_IWMMXT[0m) += iwmmxt.o obj-$([31mCONFIG_PERF_EVENTS[0m) += perf_regs.o perf_callchain.o obj-$([31mCONFIG_HW_PERF_EVENTS[0m) += perf_event_xscale.o perf_event_v6.o \ perf_event_v7.o AFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt obj-$([31mCONFIG_ARM_CPU_TOPOLOGY[0m) += topology.o obj-$([31mCONFIG_VDSO[0m) += vdso.o obj-$([31mCONFIG_EFI[0m) += efi.o ifneq ($([31mCONFIG_ARCH_EBSA110[0m),y) obj-y += io.o endif obj-$([31mCONFIG_PARAVIRT[0m) += paravirt.o head-y := head$(MMUEXT).o obj-$([31mCONFIG_DEBUG_LL[0m) += debug.o obj-$([31mCONFIG_EARLY_PRINTK[0m) += early_printk.o obj-$([31mCONFIG_ARM_VIRT_EXT[0m) += hyp-stub.o AFLAGS_hyp-stub.o :=-Wa,-march=armv7-a ifeq ($([31mCONFIG_ARM_PSCI[0m),y) obj-$([31mCONFIG_SMP[0m) += psci_smp.o endif obj-$([31mCONFIG_HAVE_ARM_SMCCC[0m) += smccc-call.o extra-y := $(head-y) vmlinux.lds |