xref: /linux/arch/alpha/kernel/Makefile (revision 979f867191f80e74713394cf8c0a3c1b3662b648)
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 \
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
18*979f8671SMichael Creeobj-$(CONFIG_PERF_EVENTS) += perf_event.o
191da177e4SLinus Torvalds
201da177e4SLinus Torvaldsifdef CONFIG_ALPHA_GENERIC
211da177e4SLinus Torvalds
221da177e4SLinus Torvaldsobj-y 	 += core_apecs.o core_cia.o core_irongate.o core_lca.o \
231da177e4SLinus Torvalds	    core_mcpcia.o core_polaris.o core_t2.o \
241da177e4SLinus Torvalds	    core_tsunami.o
251da177e4SLinus Torvalds
261da177e4SLinus Torvaldsobj-y	 += sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o \
271da177e4SLinus Torvalds	    sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o \
281da177e4SLinus Torvalds	    sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \
291da177e4SLinus Torvalds	    sys_sable.o sys_sio.o sys_sx164.o sys_takara.o
301da177e4SLinus Torvalds
311da177e4SLinus Torvaldsifndef CONFIG_ALPHA_LEGACY_START_ADDRESS
321da177e4SLinus Torvaldsobj-y	 += core_marvel.o core_titan.o core_wildfire.o
331da177e4SLinus Torvaldsobj-y	 += sys_marvel.o sys_titan.o sys_wildfire.o
341da177e4SLinus Torvaldsobj-y    += err_ev7.o err_titan.o err_marvel.o
351da177e4SLinus Torvaldsendif
361da177e4SLinus Torvalds
371da177e4SLinus Torvaldsobj-y	 += irq_pyxis.o irq_i8259.o irq_srm.o
381da177e4SLinus Torvaldsobj-y	 += err_ev6.o
39932e0c20SMorten H. Larsenobj-y	 += es1888.o smc37c669.o smc37c93x.o pc873xx.o gct.o
401da177e4SLinus Torvaldsobj-y    += srmcons.o
411da177e4SLinus Torvalds
421da177e4SLinus Torvaldselse
431da177e4SLinus Torvalds
441da177e4SLinus Torvalds# Misc support
451da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SRM)		+= srmcons.o
461da177e4SLinus Torvalds
4774641f58SIvan Kokshayskyifdef CONFIG_BINFMT_AOUT
4874641f58SIvan Kokshayskyobj-y	+= binfmt_loader.o
4974641f58SIvan Kokshayskyendif
5074641f58SIvan Kokshaysky
511da177e4SLinus Torvalds# Core logic support
521da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_APECS)	+= core_apecs.o
531da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CIA)		+= core_cia.o
541da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_IRONGATE)	+= core_irongate.o
551da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LCA)		+= core_lca.o
561da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= core_marvel.o gct.o
571da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MCPCIA)	+= core_mcpcia.o
581da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_POLARIS)	+= core_polaris.o
591da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_T2)		+= core_t2.o
601da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TSUNAMI)	+= core_tsunami.o
611da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= core_titan.o
621da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE)	+= core_wildfire.o
631da177e4SLinus Torvalds
641da177e4SLinus Torvalds# Board support
651da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_ALCOR)	+= sys_alcor.o irq_i8259.o irq_srm.o
661da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_CABRIOLET)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
67932e0c20SMorten H. Larsen				   pc873xx.o
681da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
69932e0c20SMorten H. Larsen				   pc873xx.o
701da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66P)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
71932e0c20SMorten H. Larsen				   pc873xx.o
721da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LX164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
731da177e4SLinus Torvalds				   smc37c93x.o
741da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_PC164)	+= sys_cabriolet.o irq_i8259.o irq_srm.o \
751da177e4SLinus Torvalds				   smc37c93x.o
761da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_DP264)	+= sys_dp264.o irq_i8259.o es1888.o smc37c669.o
771da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SHARK)	+= sys_dp264.o irq_i8259.o es1888.o smc37c669.o
781da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= sys_titan.o irq_i8259.o smc37c669.o
791da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB64P)	+= sys_eb64p.o irq_i8259.o
801da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EB66)	+= sys_eb64p.o irq_i8259.o
811da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_EIGER)	+= sys_eiger.o irq_i8259.o
821da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_JENSEN)	+= sys_jensen.o pci-noop.o irq_i8259.o
831da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= sys_marvel.o
841da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIATA)	+= sys_miata.o irq_pyxis.o irq_i8259.o \
851da177e4SLinus Torvalds				   es1888.o smc37c669.o
861da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MIKASA)	+= sys_mikasa.o irq_i8259.o irq_srm.o
871da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS)	+= sys_nautilus.o irq_i8259.o irq_srm.o
881da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NORITAKE)	+= sys_noritake.o irq_i8259.o
891da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RAWHIDE)	+= sys_rawhide.o irq_i8259.o
901da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RUFFIAN)	+= sys_ruffian.o irq_pyxis.o irq_i8259.o
911da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_RX164)	+= sys_rx164.o irq_i8259.o
921da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SABLE)	+= sys_sable.o
931da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_LYNX)	+= sys_sable.o
94932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_BOOK1)	+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
95932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_AVANTI)	+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
96932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_NONAME)	+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
97932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_P2K)		+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
98932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_XL)		+= sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
991da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_SX164)	+= sys_sx164.o irq_pyxis.o irq_i8259.o \
1001da177e4SLinus Torvalds				   irq_srm.o smc37c669.o
101932e0c20SMorten H. Larsenobj-$(CONFIG_ALPHA_TAKARA)	+= sys_takara.o irq_i8259.o pc873xx.o
1021da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_WILDFIRE)	+= sys_wildfire.o irq_i8259.o
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds# Error support
1051da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_MARVEL)	+= err_ev7.o err_marvel.o
1061da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_NAUTILUS)	+= err_ev6.o
1071da177e4SLinus Torvaldsobj-$(CONFIG_ALPHA_TITAN)	+= err_ev6.o err_titan.o
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvaldsendif # GENERIC
110