xref: /linux/arch/alpha/kernel/Makefile (revision 10a0ef39fbd1d484c2bbc1ffd83d57ecef209140)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsextra-y		:= head.o vmlinux.lds
6a0f97e06SSam RavnborgEXTRA_AFLAGS	:= $(KBUILD_CFLAGS)
71da177e4SLinus TorvaldsEXTRA_CFLAGS	:= -Werror -Wno-sign-compare
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsobj-y    := entry.o traps.o process.o init_task.o osf_sys.o irq.o \
1064ac24e7SMatthew Wilcox	    irq_alpha.o signal.o setup.o ptrace.o time.o \
113bfacef4SAl Viro	    alpha_ksyms.o systbls.o err_common.o io.o binfmt_loader.o
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsobj-$(CONFIG_VGA_HOSE)	+= console.o
141da177e4SLinus Torvaldsobj-$(CONFIG_SMP)	+= smp.o
15*10a0ef39SIvan 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
181da177e4SLinus Torvalds
191da177e4SLinus Torvaldsifdef CONFIG_ALPHA_GENERIC
201da177e4SLinus Torvalds
211da177e4SLinus Torvaldsobj-y 	 += core_apecs.o core_cia.o core_irongate.o core_lca.o \
221da177e4SLinus Torvalds	    core_mcpcia.o core_polaris.o core_t2.o \
231da177e4SLinus Torvalds	    core_tsunami.o
241da177e4SLinus Torvalds
251da177e4SLinus Torvaldsobj-y	 += sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o \
261da177e4SLinus Torvalds	    sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o \
271da177e4SLinus Torvalds	    sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \
281da177e4SLinus Torvalds	    sys_sable.o sys_sio.o sys_sx164.o sys_takara.o
291da177e4SLinus Torvalds
301da177e4SLinus Torvaldsifndef CONFIG_ALPHA_LEGACY_START_ADDRESS
311da177e4SLinus Torvaldsobj-y	 += core_marvel.o core_titan.o core_wildfire.o
321da177e4SLinus Torvaldsobj-y	 += sys_marvel.o sys_titan.o sys_wildfire.o
331da177e4SLinus Torvaldsobj-y    += err_ev7.o err_titan.o err_marvel.o
341da177e4SLinus Torvaldsendif
351da177e4SLinus Torvalds
361da177e4SLinus Torvaldsobj-y	 += irq_pyxis.o irq_i8259.o irq_srm.o
371da177e4SLinus Torvaldsobj-y	 += err_ev6.o
381da177e4SLinus Torvaldsobj-y	 += es1888.o smc37c669.o smc37c93x.o ns87312.o gct.o
391da177e4SLinus Torvaldsobj-y    += srmcons.o
401da177e4SLinus Torvalds
411da177e4SLinus Torvaldselse
421da177e4SLinus Torvalds
431da177e4SLinus Torvalds# Misc support
441da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SRM)		+= srmcons.o
451da177e4SLinus Torvalds
461da177e4SLinus Torvalds# Core logic support
471da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_APECS)	+= core_apecs.o
481da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CIA)		+= core_cia.o
491da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_IRONGATE)	+= core_irongate.o
501da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LCA)		+= core_lca.o
511da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= core_marvel.o gct.o
521da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MCPCIA)	+= core_mcpcia.o
531da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_POLARIS)	+= core_polaris.o
541da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_T2)		+= core_t2.o
551da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TSUNAMI)	+= core_tsunami.o
561da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= core_titan.o
571da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE)	+= core_wildfire.o
581da177e4SLinus Torvalds
591da177e4SLinus Torvalds# Board support
601da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_ALCOR)	+= sys_alcor.o irq_i8259.o irq_srm.o
611da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CABRIOLET)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
621da177e4SLinus Torvalds				   ns87312.o
631da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
641da177e4SLinus Torvalds				   ns87312.o
651da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66P)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
661da177e4SLinus Torvalds				   ns87312.o
671da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LX164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
681da177e4SLinus Torvalds				   smc37c93x.o
691da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_PC164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
701da177e4SLinus Torvalds				   smc37c93x.o
711da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_DP264)	+= sys_dp264.o irq_i8259.o es1888.o smc37c669.o
721da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SHARK)	+= sys_dp264.o irq_i8259.o es1888.o smc37c669.o
731da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= sys_titan.o irq_i8259.o smc37c669.o
741da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB64P)	+= sys_eb64p.o irq_i8259.o
751da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66)	+= sys_eb64p.o irq_i8259.o
761da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EIGER)	+= sys_eiger.o irq_i8259.o
771da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_JENSEN)	+= sys_jensen.o pci-noop.o irq_i8259.o
781da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= sys_marvel.o
791da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIATA)	+= sys_miata.o irq_pyxis.o irq_i8259.o \
801da177e4SLinus Torvalds				   es1888.o smc37c669.o
811da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIKASA)	+= sys_mikasa.o irq_i8259.o irq_srm.o
821da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS)	+= sys_nautilus.o irq_i8259.o irq_srm.o
831da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NORITAKE)	+= sys_noritake.o irq_i8259.o
841da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RAWHIDE)	+= sys_rawhide.o irq_i8259.o
851da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RUFFIAN)	+= sys_ruffian.o irq_pyxis.o irq_i8259.o
861da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RX164)	+= sys_rx164.o irq_i8259.o
871da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SABLE)	+= sys_sable.o
881da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LYNX)	+= sys_sable.o
891da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_BOOK1)	+= sys_sio.o irq_i8259.o irq_srm.o ns87312.o
901da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_AVANTI)	+= sys_sio.o irq_i8259.o irq_srm.o ns87312.o
911da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NONAME)	+= sys_sio.o irq_i8259.o irq_srm.o ns87312.o
921da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_P2K)		+= sys_sio.o irq_i8259.o irq_srm.o ns87312.o
931da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_XL)		+= sys_sio.o irq_i8259.o irq_srm.o ns87312.o
941da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SX164)	+= sys_sx164.o irq_pyxis.o irq_i8259.o \
951da177e4SLinus Torvalds				   irq_srm.o smc37c669.o
961da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TAKARA)	+= sys_takara.o irq_i8259.o ns87312.o
971da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE)	+= sys_wildfire.o irq_i8259.o
981da177e4SLinus Torvalds
991da177e4SLinus Torvalds# Error support
1001da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= err_ev7.o err_marvel.o
1011da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS)	+= err_ev6.o
1021da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= err_ev6.o err_titan.o
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvaldsendif # GENERIC
105