1 # SPDX-License-Identifier: GPL-2.0-only << 2 # 1 # 3 # Copyright (C) 2004, 2007-2010, 2011-2012 Syn !! 2 # Makefile for the linux kernel. 4 # 3 # 5 4 6 obj-y := head.o arcksyms.o setup.o irq.o res !! 5 ifdef CONFIG_PPC64BRIDGE 7 obj-y += signal.o traps.o sys.o troubleshoot !! 6 EXTRA_AFLAGS := -Wa,-mppc64bridge 8 obj-y += ctx_sw_asm.o !! 7 endif >> 8 ifdef CONFIG_4xx >> 9 EXTRA_AFLAGS := -Wa,-m405 >> 10 endif 9 11 10 obj-$(CONFIG_ISA_ARCOMPACT) += ent !! 12 # Start off with 'head.o', change as needed. 11 obj-$(CONFIG_ISA_ARCV2) += ent !! 13 extra-y := head.o >> 14 extra-$(CONFIG_40x) := head_4xx.o >> 15 extra-$(CONFIG_44x) := head_44x.o >> 16 extra-$(CONFIG_8xx) := head_8xx.o >> 17 extra-$(CONFIG_6xx) += idle_6xx.o >> 18 extra-$(CONFIG_POWER4) += idle_power4.o >> 19 extra-y += vmlinux.lds.s 12 20 13 obj-$(CONFIG_MODULES) += arc !! 21 obj-y := entry.o traps.o irq.o idle.o time.o misc.o \ 14 obj-$(CONFIG_SMP) += smp !! 22 process.o signal.o ptrace.o align.o \ 15 obj-$(CONFIG_ARC_MCIP) += mci !! 23 semaphore.o syscalls.o setup.o \ 16 obj-$(CONFIG_ARC_DW2_UNWIND) += unw !! 24 cputable.o ppc_htab.o 17 obj-$(CONFIG_KPROBES) += kpr !! 25 obj-$(CONFIG_6xx) += l2cr.o cpu_setup_6xx.o 18 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += una !! 26 obj-$(CONFIG_MODULES) += module.o ppc_ksyms.o 19 obj-$(CONFIG_KGDB) += kgd !! 27 obj-$(CONFIG_PCI) += pci.o 20 obj-$(CONFIG_ARC_METAWARE_HLINK) += arc !! 28 obj-$(CONFIG_PCI) += pci-dma.o 21 obj-$(CONFIG_PERF_EVENTS) += per !! 29 obj-$(CONFIG_KGDB) += ppc-stub.o 22 obj-$(CONFIG_JUMP_LABEL) += jum !! 30 obj-$(CONFIG_SMP) += smp.o >> 31 obj-$(CONFIG_TAU) += temp.o 23 32 24 obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu !! 33 ifdef CONFIG_MATH_EMULATION 25 ifdef CONFIG_ISA_ARCOMPACT !! 34 obj-$(CONFIG_8xx) += softemu8xx.o 26 CFLAGS_fpu.o += -mdpfp << 27 endif 35 endif 28 36 29 extra-y := vmlinux.lds <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.