1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # Makefile for the Linux/SuperH kernel. !! 3 # Makefile for the linux kernel. 4 # 4 # 5 5 6 extra-y := vmlinux.lds !! 6 extra-y := vmlinux.lds 7 !! 7 asflags-y := $(KBUILD_CFLAGS) 8 ifdef CONFIG_FUNCTION_TRACER !! 8 ccflags-y := -Wno-sign-compare 9 # Do not profile debug and lowlevel utilities !! 9 10 CFLAGS_REMOVE_ftrace.o = -pg !! 10 obj-y := head.o entry.o traps.o process.o osf_sys.o irq.o \ >> 11 irq_alpha.o signal.o setup.o ptrace.o time.o \ >> 12 systbls.o err_common.o io.o bugs.o termios.o >> 13 >> 14 obj-$(CONFIG_VGA_HOSE) += console.o >> 15 obj-$(CONFIG_SMP) += smp.o >> 16 obj-$(CONFIG_PCI) += pci.o pci_iommu.o pci-sysfs.o >> 17 obj-$(CONFIG_SRM_ENV) += srm_env.o >> 18 obj-$(CONFIG_MODULES) += module.o >> 19 obj-$(CONFIG_PERF_EVENTS) += perf_event.o >> 20 obj-$(CONFIG_RTC_DRV_ALPHA) += rtc.o >> 21 obj-$(CONFIG_AUDIT) += audit.o >> 22 >> 23 ifdef CONFIG_ALPHA_GENERIC >> 24 >> 25 obj-y += core_cia.o core_irongate.o \ >> 26 core_mcpcia.o core_polaris.o core_t2.o \ >> 27 core_tsunami.o >> 28 >> 29 obj-y += sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eiger.o \ >> 30 sys_miata.o sys_mikasa.o sys_nautilus.o \ >> 31 sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \ >> 32 sys_sable.o sys_sx164.o sys_takara.o >> 33 >> 34 ifndef CONFIG_ALPHA_LEGACY_START_ADDRESS >> 35 obj-y += core_marvel.o core_titan.o core_wildfire.o >> 36 obj-y += sys_marvel.o sys_titan.o sys_wildfire.o >> 37 obj-y += err_ev7.o err_titan.o err_marvel.o 11 endif 38 endif 12 39 13 CFLAGS_REMOVE_return_address.o = -pg !! 40 obj-y += irq_pyxis.o irq_i8259.o irq_srm.o 14 !! 41 obj-y += err_ev6.o 15 obj-y := head_32.o debugtraps.o dumpstack.o !! 42 obj-y += es1888.o smc37c669.o smc37c93x.o pc873xx.o gct.o 16 idle.o io.o irq.o irq_32.o kdebugfs !! 43 obj-y += srmcons.o 17 machvec.o nmi_debug.o process.o !! 44 18 process_32.o ptrace.o ptrace_32.o !! 45 else 19 reboot.o return_address.o !! 46 20 setup.o signal_32.o sys_sh.o !! 47 # Misc support 21 syscalls_32.o time.o topology.o tra !! 48 obj-$(CONFIG_ALPHA_SRM) += srmcons.o 22 traps_32.o unwinder.o !! 49 23 !! 50 # Core logic support 24 ifndef CONFIG_GENERIC_IOMAP !! 51 obj-$(CONFIG_ALPHA_CIA) += core_cia.o 25 obj-y += iomap.o !! 52 obj-$(CONFIG_ALPHA_IRONGATE) += core_irongate.o 26 obj-$(CONFIG_HAS_IOPORT_MAP) += ioport.o !! 53 obj-$(CONFIG_ALPHA_MARVEL) += core_marvel.o gct.o 27 endif !! 54 obj-$(CONFIG_ALPHA_MCPCIA) += core_mcpcia.o >> 55 obj-$(CONFIG_ALPHA_POLARIS) += core_polaris.o >> 56 obj-$(CONFIG_ALPHA_T2) += core_t2.o >> 57 obj-$(CONFIG_ALPHA_TSUNAMI) += core_tsunami.o >> 58 obj-$(CONFIG_ALPHA_TITAN) += core_titan.o >> 59 obj-$(CONFIG_ALPHA_WILDFIRE) += core_wildfire.o >> 60 >> 61 # Board support >> 62 obj-$(CONFIG_ALPHA_ALCOR) += sys_alcor.o irq_i8259.o irq_srm.o >> 63 obj-$(CONFIG_ALPHA_LX164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ >> 64 smc37c93x.o >> 65 obj-$(CONFIG_ALPHA_PC164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ >> 66 smc37c93x.o >> 67 obj-$(CONFIG_ALPHA_DP264) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o >> 68 obj-$(CONFIG_ALPHA_SHARK) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o >> 69 obj-$(CONFIG_ALPHA_TITAN) += sys_titan.o irq_i8259.o smc37c669.o >> 70 obj-$(CONFIG_ALPHA_EIGER) += sys_eiger.o irq_i8259.o >> 71 obj-$(CONFIG_ALPHA_MARVEL) += sys_marvel.o >> 72 obj-$(CONFIG_ALPHA_MIATA) += sys_miata.o irq_pyxis.o irq_i8259.o \ >> 73 es1888.o smc37c669.o >> 74 obj-$(CONFIG_ALPHA_MIKASA) += sys_mikasa.o irq_i8259.o irq_srm.o >> 75 obj-$(CONFIG_ALPHA_NAUTILUS) += sys_nautilus.o irq_i8259.o irq_srm.o >> 76 obj-$(CONFIG_ALPHA_NORITAKE) += sys_noritake.o irq_i8259.o >> 77 obj-$(CONFIG_ALPHA_RAWHIDE) += sys_rawhide.o irq_i8259.o >> 78 obj-$(CONFIG_ALPHA_RUFFIAN) += sys_ruffian.o irq_pyxis.o irq_i8259.o >> 79 obj-$(CONFIG_ALPHA_RX164) += sys_rx164.o irq_i8259.o >> 80 obj-$(CONFIG_ALPHA_SABLE) += sys_sable.o >> 81 obj-$(CONFIG_ALPHA_SX164) += sys_sx164.o irq_pyxis.o irq_i8259.o \ >> 82 irq_srm.o smc37c669.o >> 83 obj-$(CONFIG_ALPHA_TAKARA) += sys_takara.o irq_i8259.o pc873xx.o >> 84 obj-$(CONFIG_ALPHA_WILDFIRE) += sys_wildfire.o irq_i8259.o >> 85 >> 86 # Error support >> 87 obj-$(CONFIG_ALPHA_MARVEL) += err_ev7.o err_marvel.o >> 88 obj-$(CONFIG_ALPHA_NAUTILUS) += err_ev6.o >> 89 obj-$(CONFIG_ALPHA_TITAN) += err_ev6.o err_titan.o 28 90 29 obj-y += sys_sh32.o !! 91 endif # GENERIC 30 obj-y += cpu/ << 31 obj-$(CONFIG_VSYSCALL) += vsyscall/ << 32 obj-$(CONFIG_SMP) += smp.o << 33 obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o << 34 obj-$(CONFIG_KGDB) += kgdb.o << 35 obj-$(CONFIG_MODULES) += sh_ksyms_32 << 36 obj-$(CONFIG_KEXEC_CORE) += machine_kex << 37 obj-$(CONFIG_VMCORE_INFO) += vmcore_info << 38 obj-$(CONFIG_CRASH_DUMP) += crash_dump. << 39 obj-$(CONFIG_STACKTRACE) += stacktrace. << 40 obj-$(CONFIG_IO_TRAPPED) += io_trapped. << 41 obj-$(CONFIG_KPROBES) += kprobes.o << 42 obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o << 43 obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o << 44 obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace. << 45 obj-$(CONFIG_DUMP_CODE) += disassemble << 46 obj-$(CONFIG_HIBERNATION) += swsusp.o << 47 obj-$(CONFIG_DWARF_UNWINDER) += dwarf.o << 48 obj-$(CONFIG_PERF_EVENTS) += perf_event. << 49 obj-$(CONFIG_DMA_NONCOHERENT) += dma-coheren << 50 obj-$(CONFIG_HAVE_HW_BREAKPOINT) <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.