# # Makefile for the linux kernel. # CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET) AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET) CFLAGS_armv8_deprecated.o := -I$(src) CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_insn.o = -pg CFLAGS_REMOVE_return_address.o = -pg CFLAGS_setup.o = -DUTS_MACHINE='"$(UTS_MACHINE)"' # Object file lists. arm64-obj-y := debug-monitors.o entry.o irq.o fpsimd.o \ entry-fpsimd.o process.o ptrace.o setup.o signal.o \ sys.o stacktrace.o time.o traps.o io.o vdso.o \ hyp-stub.o psci.o cpu_ops.o insn.o \ return_address.o cpuinfo.o cpu_errata.o \ cpufeature.o alternative.o cacheinfo.o \ smp.o smp_spin_table.o topology.o smccc-call.o extra-$([31mCONFIG_EFI[0m) := efi-entry.o OBJCOPYFLAGS := --prefix-symbols=__efistub_ $(obj)/%.stub.o: $(obj)/%.o FORCE $(call if_changed,objcopy) arm64-obj-$([31mCONFIG_COMPAT[0m) += sys32.o kuser32.o signal32.o \ sys_compat.o entry32.o arm64-obj-$([31mCONFIG_FUNCTION_TRACER[0m) += ftrace.o entry-ftrace.o arm64-obj-$([31mCONFIG_MODULES[0m) += arm64ksyms.o module.o arm64-obj-$([31mCONFIG_ARM64_MODULE_PLTS[0m) += module-plts.o arm64-obj-$([31mCONFIG_PERF_EVENTS[0m) += perf_regs.o perf_callchain.o arm64-obj-$([31mCONFIG_HW_PERF_EVENTS[0m) += perf_event.o arm64-obj-$([31mCONFIG_HAVE_HW_BREAKPOINT[0m) += hw_breakpoint.o arm64-obj-$([31mCONFIG_CPU_PM[0m) += sleep.o suspend.o arm64-obj-$([31mCONFIG_CPU_IDLE[0m) += cpuidle.o arm64-obj-$([31mCONFIG_JUMP_LABEL[0m) += jump_label.o arm64-obj-$([31mCONFIG_KGDB[0m) += kgdb.o arm64-obj-$([31mCONFIG_EFI[0m) += efi.o efi-entry.stub.o arm64-obj-$([31mCONFIG_PCI[0m) += pci.o arm64-obj-$([31mCONFIG_ARMV8_DEPRECATED[0m) += armv8_deprecated.o arm64-obj-$([31mCONFIG_ACPI[0m) += acpi.o arm64-obj-$([31mCONFIG_ACPI_NUMA[0m) += acpi_numa.o arm64-obj-$([31mCONFIG_ARM64_ACPI_PARKING_PROTOCOL[0m) += acpi_parking_protocol.o arm64-obj-$([31mCONFIG_PARAVIRT[0m) += paravirt.o arm64-obj-$([31mCONFIG_RANDOMIZE_BASE[0m) += kaslr.o arm64-obj-$([31mCONFIG_HIBERNATION[0m) += hibernate.o hibernate-asm.o arm64-obj-$([31mCONFIG_KEXEC[0m) += machine_kexec.o relocate_kernel.o \ cpu-reset.o obj-y += $(arm64-obj-y) vdso/ probes/ obj-m += $(arm64-obj-m) head-y := head.o extra-y += $(head-y) vmlinux.lds |