1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the linux kernel. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 632164845SMasahiro Yamadaextra-y := vmlinux.lds 78a362cd6Smatt mooneyasflags-y := $(KBUILD_CFLAGS) 890fd30c9SRichard Hendersonccflags-y := -Wno-sign-compare 91da177e4SLinus Torvalds 1032164845SMasahiro Yamadaobj-y := head.o entry.o traps.o process.o osf_sys.o irq.o \ 1164ac24e7SMatthew Wilcox irq_alpha.o signal.o setup.o ptrace.o time.o \ 121d5d6682SAl Viro systbls.o err_common.o io.o bugs.o termios.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 25*430ad3f0SArnd Bergmannobj-y += core_cia.o core_irongate.o \ 261da177e4SLinus Torvalds core_mcpcia.o core_polaris.o core_t2.o \ 271da177e4SLinus Torvalds core_tsunami.o 281da177e4SLinus Torvalds 29*430ad3f0SArnd Bergmannobj-y += sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eiger.o \ 30f81f335aSArnd Bergmann sys_miata.o sys_mikasa.o sys_nautilus.o \ 311da177e4SLinus Torvalds sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \ 32*430ad3f0SArnd Bergmann sys_sable.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 501da177e4SLinus Torvalds# Core logic support 511da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CIA) += core_cia.o 521da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_IRONGATE) += core_irongate.o 531da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL) += core_marvel.o gct.o 541da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MCPCIA) += core_mcpcia.o 551da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_POLARIS) += core_polaris.o 561da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_T2) += core_t2.o 571da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TSUNAMI) += core_tsunami.o 581da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN) += core_titan.o 591da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE) += core_wildfire.o 601da177e4SLinus Torvalds 611da177e4SLinus Torvalds# Board support 621da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_ALCOR) += sys_alcor.o irq_i8259.o irq_srm.o 631da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 64932e0c20SMorten H. Larsen pc873xx.o 651da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LX164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 661da177e4SLinus Torvalds smc37c93x.o 671da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_PC164) += sys_cabriolet.o irq_i8259.o irq_srm.o \ 681da177e4SLinus Torvalds smc37c93x.o 691da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_DP264) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o 701da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SHARK) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o 711da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN) += sys_titan.o irq_i8259.o smc37c669.o 721da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EIGER) += sys_eiger.o irq_i8259.o 731da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL) += sys_marvel.o 741da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIATA) += sys_miata.o irq_pyxis.o irq_i8259.o \ 751da177e4SLinus Torvalds es1888.o smc37c669.o 761da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIKASA) += sys_mikasa.o irq_i8259.o irq_srm.o 771da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS) += sys_nautilus.o irq_i8259.o irq_srm.o 781da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NORITAKE) += sys_noritake.o irq_i8259.o 791da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RAWHIDE) += sys_rawhide.o irq_i8259.o 801da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RUFFIAN) += sys_ruffian.o irq_pyxis.o irq_i8259.o 811da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RX164) += sys_rx164.o irq_i8259.o 821da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SABLE) += sys_sable.o 831da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SX164) += sys_sx164.o irq_pyxis.o irq_i8259.o \ 841da177e4SLinus Torvalds irq_srm.o smc37c669.o 85932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_TAKARA) += sys_takara.o irq_i8259.o pc873xx.o 861da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE) += sys_wildfire.o irq_i8259.o 871da177e4SLinus Torvalds 881da177e4SLinus Torvalds# Error support 891da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL) += err_ev7.o err_marvel.o 901da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS) += err_ev6.o 911da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN) += err_ev6.o err_titan.o 921da177e4SLinus Torvalds 931da177e4SLinus Torvaldsendif # GENERIC 94