xref: /linux/arch/alpha/kernel/Makefile (revision a9302e8439445710552886e7b623dbcfa943a1f2)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsextra-y		:= head.o vmlinux.lds
68a362cd6Smatt mooneyasflags-y	:= $(KBUILD_CFLAGS)
790fd30c9SRichard Hendersonccflags-y	:= -Wno-sign-compare
81da177e4SLinus Torvalds
95dced29dSThomas Gleixnerobj-y    := entry.o traps.o process.o osf_sys.o irq.o \
1064ac24e7SMatthew Wilcox	    irq_alpha.o signal.o setup.o ptrace.o time.o \
1174641f58SIvan Kokshaysky	    alpha_ksyms.o systbls.o err_common.o io.o
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsobj-$(CONFIG_VGA_HOSE)	+= console.o
141da177e4SLinus Torvaldsobj-$(CONFIG_SMP)	+= smp.o
1510a0ef39SIvan Kokshayskyobj-$(CONFIG_PCI)	+= pci.o pci_iommu.o pci-sysfs.o
161da177e4SLinus Torvaldsobj-$(CONFIG_SRM_ENV)	+= srm_env.o
171da177e4SLinus Torvaldsobj-$(CONFIG_MODULES)	+= module.o
18979f8671SMichael Creeobj-$(CONFIG_PERF_EVENTS) += perf_event.o
1985d0b3a5SRichard Hendersonobj-$(CONFIG_RTC_DRV_ALPHA) += rtc.o
20*a9302e84S蔡正龙obj-$(CONFIG_AUDIT)	+= audit.o
211da177e4SLinus Torvalds
221da177e4SLinus Torvaldsifdef CONFIG_ALPHA_GENERIC
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsobj-y 	 += core_apecs.o core_cia.o core_irongate.o core_lca.o \
251da177e4SLinus Torvalds	    core_mcpcia.o core_polaris.o core_t2.o \
261da177e4SLinus Torvalds	    core_tsunami.o
271da177e4SLinus Torvalds
281da177e4SLinus Torvaldsobj-y	 += sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o \
291da177e4SLinus Torvalds	    sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o \
301da177e4SLinus Torvalds	    sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \
311da177e4SLinus Torvalds	    sys_sable.o sys_sio.o sys_sx164.o sys_takara.o
321da177e4SLinus Torvalds
331da177e4SLinus Torvaldsifndef CONFIG_ALPHA_LEGACY_START_ADDRESS
341da177e4SLinus Torvaldsobj-y	 += core_marvel.o core_titan.o core_wildfire.o
351da177e4SLinus Torvaldsobj-y	 += sys_marvel.o sys_titan.o sys_wildfire.o
361da177e4SLinus Torvaldsobj-y    += err_ev7.o err_titan.o err_marvel.o
371da177e4SLinus Torvaldsendif
381da177e4SLinus Torvalds
391da177e4SLinus Torvaldsobj-y	 += irq_pyxis.o irq_i8259.o irq_srm.o
401da177e4SLinus Torvaldsobj-y	 += err_ev6.o
41932e0c20SMorten H. Larsenobj-y	 += es1888.o smc37c669.o smc37c93x.o pc873xx.o gct.o
421da177e4SLinus Torvaldsobj-y    += srmcons.o
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldselse
451da177e4SLinus Torvalds
461da177e4SLinus Torvalds# Misc support
471da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SRM)		+= srmcons.o
481da177e4SLinus Torvalds
4974641f58SIvan Kokshayskyifdef CONFIG_BINFMT_AOUT
5074641f58SIvan Kokshayskyobj-y	+= binfmt_loader.o
5174641f58SIvan Kokshayskyendif
5274641f58SIvan Kokshaysky
531da177e4SLinus Torvalds# Core logic support
541da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_APECS)	+= core_apecs.o
551da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CIA)		+= core_cia.o
561da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_IRONGATE)	+= core_irongate.o
571da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LCA)		+= core_lca.o
581da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= core_marvel.o gct.o
591da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MCPCIA)	+= core_mcpcia.o
601da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_POLARIS)	+= core_polaris.o
611da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_T2)		+= core_t2.o
621da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TSUNAMI)	+= core_tsunami.o
631da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= core_titan.o
641da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE)	+= core_wildfire.o
651da177e4SLinus Torvalds
661da177e4SLinus Torvalds# Board support
671da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_ALCOR)	+= sys_alcor.o irq_i8259.o irq_srm.o
681da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CABRIOLET)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
69932e0c20SMorten H. Larsen				   pc873xx.o
701da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
71932e0c20SMorten H. Larsen				   pc873xx.o
721da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66P)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
73932e0c20SMorten H. Larsen				   pc873xx.o
741da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LX164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
751da177e4SLinus Torvalds				   smc37c93x.o
761da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_PC164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
771da177e4SLinus Torvalds				   smc37c93x.o
781da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_DP264)	+= sys_dp264.o irq_i8259.o es1888.o smc37c669.o
791da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SHARK)	+= sys_dp264.o irq_i8259.o es1888.o smc37c669.o
801da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= sys_titan.o irq_i8259.o smc37c669.o
811da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB64P)	+= sys_eb64p.o irq_i8259.o
821da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66)	+= sys_eb64p.o irq_i8259.o
831da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EIGER)	+= sys_eiger.o irq_i8259.o
841da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_JENSEN)	+= sys_jensen.o pci-noop.o irq_i8259.o
851da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= sys_marvel.o
861da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIATA)	+= sys_miata.o irq_pyxis.o irq_i8259.o \
871da177e4SLinus Torvalds				   es1888.o smc37c669.o
881da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIKASA)	+= sys_mikasa.o irq_i8259.o irq_srm.o
891da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS)	+= sys_nautilus.o irq_i8259.o irq_srm.o
901da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NORITAKE)	+= sys_noritake.o irq_i8259.o
911da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RAWHIDE)	+= sys_rawhide.o irq_i8259.o
921da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RUFFIAN)	+= sys_ruffian.o irq_pyxis.o irq_i8259.o
931da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RX164)	+= sys_rx164.o irq_i8259.o
941da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SABLE)	+= sys_sable.o
951da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LYNX)	+= sys_sable.o
96932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_BOOK1)	+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
97932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_AVANTI)	+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
98932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_NONAME)	+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
99932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_P2K)		+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
100932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_XL)		+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
1011da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SX164)	+= sys_sx164.o irq_pyxis.o irq_i8259.o \
1021da177e4SLinus Torvalds				   irq_srm.o smc37c669.o
103932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_TAKARA)	+= sys_takara.o irq_i8259.o pc873xx.o
1041da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE)	+= sys_wildfire.o irq_i8259.o
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds# Error support
1071da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= err_ev7.o err_marvel.o
1081da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS)	+= err_ev6.o
1091da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= err_ev6.o err_titan.o
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvaldsendif # GENERIC
112