1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the linux kernel. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvaldsextra-y := head.o vmlinux.lds 78a362cd6Smatt mooneyasflags-y := $(KBUILD_CFLAGS) 890fd30c9SRichard Hendersonccflags-y := -Wno-sign-compare 91da177e4SLinus Torvalds 105dced29dSThomas Gleixnerobj-y := entry.o traps.o process.o osf_sys.o irq.o \ 1164ac24e7SMatthew Wilcox irq_alpha.o signal.o setup.o ptrace.o time.o \ 1200fc0e0dSAl Viro systbls.o err_common.o io.o 131da177e4SLinus Torvalds 141da177e4SLinus Torvaldsobj-$(CONFIG_VGA_HOSE) += console.o 151da177e4SLinus Torvaldsobj-$(CONFIG_SMP) += smp.o 1610a0ef39SIvan Kokshayskyobj-$(CONFIG_PCI) += pci.o pci_iommu.o pci-sysfs.o 171da177e4SLinus Torvaldsobj-$(CONFIG_SRM_ENV) += srm_env.o 181da177e4SLinus Torvaldsobj-$(CONFIG_MODULES) += module.o 19979f8671SMichael Creeobj-$(CONFIG_PERF_EVENTS) += perf_event.o 2085d0b3a5SRichard Hendersonobj-$(CONFIG_RTC_DRV_ALPHA) += rtc.o 21a9302e84S蔡正龙obj-$(CONFIG_AUDIT) += audit.o 221da177e4SLinus Torvalds 231da177e4SLinus Torvaldsifdef CONFIG_ALPHA_GENERIC 241da177e4SLinus Torvalds 251da177e4SLinus Torvaldsobj-y += core_apecs.o core_cia.o core_irongate.o core_lca.o \ 261da177e4SLinus Torvalds core_mcpcia.o core_polaris.o core_t2.o \ 271da177e4SLinus Torvalds core_tsunami.o 281da177e4SLinus Torvalds 291da177e4SLinus Torvaldsobj-y += sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o \ 301da177e4SLinus Torvalds sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o \ 311da177e4SLinus Torvalds sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \ 321da177e4SLinus Torvalds sys_sable.o sys_sio.o sys_sx164.o sys_takara.o 331da177e4SLinus Torvalds 341da177e4SLinus Torvaldsifndef CONFIG_ALPHA_LEGACY_START_ADDRESS 351da177e4SLinus Torvaldsobj-y += core_marvel.o core_titan.o core_wildfire.o 361da177e4SLinus Torvaldsobj-y += sys_marvel.o sys_titan.o sys_wildfire.o 371da177e4SLinus Torvaldsobj-y += err_ev7.o err_titan.o err_marvel.o 381da177e4SLinus Torvaldsendif 391da177e4SLinus Torvalds 401da177e4SLinus Torvaldsobj-y += irq_pyxis.o irq_i8259.o irq_srm.o 411da177e4SLinus Torvaldsobj-y += err_ev6.o 42932e0c20SMorten H. Larsenobj-y += es1888.o smc37c669.o smc37c93x.o pc873xx.o gct.o 431da177e4SLinus Torvaldsobj-y += srmcons.o 441da177e4SLinus Torvalds 451da177e4SLinus Torvaldselse 461da177e4SLinus Torvalds 471da177e4SLinus Torvalds# Misc support 481da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SRM) += srmcons.o 491da177e4SLinus Torvalds 5074641f58SIvan Kokshayskyifdef CONFIG_BINFMT_AOUT 5174641f58SIvan Kokshayskyobj-y += binfmt_loader.o 5274641f58SIvan Kokshayskyendif 5374641f58SIvan Kokshaysky 541da177e4SLinus Torvalds# Core logic support 551da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_APECS) += core_apecs.o 561da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CIA) += core_cia.o 571da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_IRONGATE) += core_irongate.o 581da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LCA) += core_lca.o 591da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL) += core_marvel.o gct.o 601da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MCPCIA) += core_mcpcia.o 611da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_POLARIS) += core_polaris.o 621da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_T2) += core_t2.o 631da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TSUNAMI) += core_tsunami.o 641da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN) += core_titan.o 651da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE) += core_wildfire.o 661da177e4SLinus Torvalds 671da177e4SLinus Torvalds# Board support 681da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_ALCOR) += sys_alcor.o irq_i8259.o irq_srm.o 691da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CABRIOLET) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 70932e0c20SMorten H. Larsen pc873xx.o 711da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 72932e0c20SMorten H. Larsen pc873xx.o 731da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66P) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 74932e0c20SMorten H. Larsen pc873xx.o 751da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LX164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 761da177e4SLinus Torvalds smc37c93x.o 771da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_PC164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 781da177e4SLinus Torvalds smc37c93x.o 791da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_DP264) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o 801da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SHARK) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o 811da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN) += sys_titan.o irq_i8259.o smc37c669.o 821da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB64P) += sys_eb64p.o irq_i8259.o 831da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66) += sys_eb64p.o irq_i8259.o 841da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EIGER) += sys_eiger.o irq_i8259.o 851da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_JENSEN) += sys_jensen.o pci-noop.o irq_i8259.o 861da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL) += sys_marvel.o 871da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIATA) += sys_miata.o irq_pyxis.o irq_i8259.o \ 881da177e4SLinus Torvalds es1888.o smc37c669.o 891da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIKASA) += sys_mikasa.o irq_i8259.o irq_srm.o 901da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS) += sys_nautilus.o irq_i8259.o irq_srm.o 911da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NORITAKE) += sys_noritake.o irq_i8259.o 921da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RAWHIDE) += sys_rawhide.o irq_i8259.o 931da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RUFFIAN) += sys_ruffian.o irq_pyxis.o irq_i8259.o 941da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RX164) += sys_rx164.o irq_i8259.o 951da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SABLE) += sys_sable.o 961da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LYNX) += sys_sable.o 97932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_BOOK1) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o 98932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_AVANTI) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o 99932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_NONAME) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o 100932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_P2K) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o 101932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_XL) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o 1021da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SX164) += sys_sx164.o irq_pyxis.o irq_i8259.o \ 1031da177e4SLinus Torvalds irq_srm.o smc37c669.o 104932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_TAKARA) += sys_takara.o irq_i8259.o pc873xx.o 1051da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE) += sys_wildfire.o irq_i8259.o 1061da177e4SLinus Torvalds 1071da177e4SLinus Torvalds# Error support 1081da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL) += err_ev7.o err_marvel.o 1091da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS) += err_ev6.o 1101da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN) += err_ev6.o err_titan.o 1111da177e4SLinus Torvalds 1121da177e4SLinus Torvaldsendif # GENERIC 113