1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the nios2 linux kernel. !! 2 # Makefile for the linux kernel. 4 # 3 # 5 4 6 extra-y += vmlinux.lds !! 5 ifdef CONFIG_PPC64BRIDGE >> 6 EXTRA_AFLAGS := -Wa,-mppc64bridge >> 7 endif >> 8 ifdef CONFIG_4xx >> 9 EXTRA_AFLAGS := -Wa,-m405 >> 10 endif 7 11 8 obj-y += head.o !! 12 # Start off with 'head.o', change as needed. 9 obj-y += cpuinfo.o !! 13 extra-y := head.o 10 obj-y += entry.o !! 14 extra-$(CONFIG_40x) := head_4xx.o 11 obj-y += insnemu.o !! 15 extra-$(CONFIG_44x) := head_44x.o 12 obj-y += irq.o !! 16 extra-$(CONFIG_8xx) := head_8xx.o 13 obj-y += nios2_ksyms.o !! 17 extra-$(CONFIG_6xx) += idle_6xx.o 14 obj-y += process.o !! 18 extra-$(CONFIG_POWER4) += idle_power4.o 15 obj-y += prom.o !! 19 extra-y += vmlinux.lds.s 16 obj-y += ptrace.o !! 20 17 obj-y += setup.o !! 21 obj-y := entry.o traps.o irq.o idle.o time.o misc.o \ 18 obj-y += signal.o !! 22 process.o signal.o ptrace.o align.o \ 19 obj-y += sys_nios2.o !! 23 semaphore.o syscalls.o setup.o \ 20 obj-y += syscall_table.o !! 24 cputable.o ppc_htab.o 21 obj-y += time.o !! 25 obj-$(CONFIG_6xx) += l2cr.o cpu_setup_6xx.o 22 obj-y += traps.o !! 26 obj-$(CONFIG_MODULES) += module.o ppc_ksyms.o >> 27 obj-$(CONFIG_PCI) += pci.o >> 28 obj-$(CONFIG_PCI) += pci-dma.o >> 29 obj-$(CONFIG_KGDB) += ppc-stub.o >> 30 obj-$(CONFIG_SMP) += smp.o >> 31 obj-$(CONFIG_TAU) += temp.o >> 32 >> 33 ifdef CONFIG_MATH_EMULATION >> 34 obj-$(CONFIG_8xx) += softemu8xx.o >> 35 endif 23 36 24 obj-$(CONFIG_KGDB) += kgd << 25 obj-$(CONFIG_MODULES) += mod << 26 obj-$(CONFIG_NIOS2_ALIGNMENT_TRAP) += mis <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.