# SPDX-License-Identifier: GPL-2.0 # # Makefile for the linux kernel. # ifdef [31mCONFIG_DYNAMIC_FTRACE[0m CFLAGS_REMOVE_ftrace.o = -pg endif extra-y := head.o vmlinux.lds obj-y := entry.o efi.o efi_stub.o gate-data.o fsys.o ia64_ksyms.o irq.o irq_ia64.o \ irq_lsapic.o ivt.o pal.o patch.o process.o perfmon.o ptrace.o sal.o \ salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o \ unwind.o mca.o mca_asm.o topology.o dma-mapping.o iosapic.o acpi.o \ acpi-ext.o obj-$([31mCONFIG_IA64_BRL_EMU[0m) += brl_emu.o obj-$([31mCONFIG_IA64_PALINFO[0m) += palinfo.o obj-$([31mCONFIG_MODULES[0m) += module.o obj-$([31mCONFIG_SMP[0m) += smp.o smpboot.o obj-$([31mCONFIG_NUMA[0m) += numa.o obj-$([31mCONFIG_PERFMON[0m) += perfmon_default_smpl.o obj-$([31mCONFIG_IA64_CYCLONE[0m) += cyclone.o obj-$([31mCONFIG_IA64_MCA_RECOVERY[0m) += mca_recovery.o obj-$([31mCONFIG_KPROBES[0m) += kprobes.o obj-$([31mCONFIG_DYNAMIC_FTRACE[0m) += ftrace.o obj-$([31mCONFIG_KEXEC[0m) += machine_kexec.o relocate_kernel.o crash.o obj-$([31mCONFIG_CRASH_DUMP[0m) += crash_dump.o obj-$([31mCONFIG_IA64_UNCACHED_ALLOCATOR[0m) += uncached.o obj-$([31mCONFIG_AUDIT[0m) += audit.o obj-y += msi_ia64.o mca_recovery-y += mca_drv.o mca_drv_asm.o obj-$([31mCONFIG_IA64_MC_ERR_INJECT[0m)+= err_inject.o obj-$([31mCONFIG_STACKTRACE[0m) += stacktrace.o obj-$([31mCONFIG_IA64_ESI[0m) += esi.o ifneq ($([31mCONFIG_IA64_ESI[0m),) obj-y += esi_stub.o # must be in kernel proper endif obj-$([31mCONFIG_INTEL_IOMMU[0m) += pci-dma.o obj-$([31mCONFIG_BINFMT_ELF[0m) += elfcore.o # fp_emulate() expects f2-f5,f16-f31 to contain the user-level state. CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31 # The gate DSO image is built using a special linker script. include $(src)/Makefile.gate include/generated/nr-irqs.h: arch/$(SRCARCH)/kernel/nr-irqs.s FORCE $(call filechk,offsets,__ASM_NR_IRQS_H__) targets += nr-irqs.s |