#
# Makefile for the linux kernel.
#
extra-y := head.o vmlinux.lds
asflags-y := $(KBUILD_CFLAGS)
ccflags-y := -Wno-sign-compare
obj-y := entry.o traps.o process.o osf_sys.o irq.o \
irq_alpha.o signal.o setup.o ptrace.o time.o \
systbls.o err_common.o io.o
obj-$([31mCONFIG_VGA_HOSE[0m) += console.o
obj-$([31mCONFIG_SMP[0m) += smp.o
obj-$([31mCONFIG_PCI[0m) += pci.o pci_iommu.o pci-sysfs.o
obj-$([31mCONFIG_SRM_ENV[0m) += srm_env.o
obj-$([31mCONFIG_MODULES[0m) += module.o
obj-$([31mCONFIG_PERF_EVENTS[0m) += perf_event.o
obj-$([31mCONFIG_RTC_DRV_ALPHA[0m) += rtc.o
obj-$([31mCONFIG_AUDIT[0m) += audit.o
ifdef [31mCONFIG_ALPHA_GENERIC[0m
obj-y += core_apecs.o core_cia.o core_irongate.o core_lca.o \
core_mcpcia.o core_polaris.o core_t2.o \
core_tsunami.o
obj-y += sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o \
sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o \
sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o \
sys_sable.o sys_sio.o sys_sx164.o sys_takara.o
ifndef [31mCONFIG_ALPHA_LEGACY_START_ADDRESS[0m
obj-y += core_marvel.o core_titan.o core_wildfire.o
obj-y += sys_marvel.o sys_titan.o sys_wildfire.o
obj-y += err_ev7.o err_titan.o err_marvel.o
endif
obj-y += irq_pyxis.o irq_i8259.o irq_srm.o
obj-y += err_ev6.o
obj-y += es1888.o smc37c669.o smc37c93x.o pc873xx.o gct.o
obj-y += srmcons.o
else
# Misc support
obj-$([31mCONFIG_ALPHA_SRM[0m) += srmcons.o
ifdef [31mCONFIG_BINFMT_AOUT[0m
obj-y += binfmt_loader.o
endif
# Core logic support
obj-$([31mCONFIG_ALPHA_APECS[0m) += core_apecs.o
obj-$([31mCONFIG_ALPHA_CIA[0m) += core_cia.o
obj-$([31mCONFIG_ALPHA_IRONGATE[0m) += core_irongate.o
obj-$([31mCONFIG_ALPHA_LCA[0m) += core_lca.o
obj-$([31mCONFIG_ALPHA_MARVEL[0m) += core_marvel.o gct.o
obj-$([31mCONFIG_ALPHA_MCPCIA[0m) += core_mcpcia.o
obj-$([31mCONFIG_ALPHA_POLARIS[0m) += core_polaris.o
obj-$([31mCONFIG_ALPHA_T2[0m) += core_t2.o
obj-$([31mCONFIG_ALPHA_TSUNAMI[0m) += core_tsunami.o
obj-$([31mCONFIG_ALPHA_TITAN[0m) += core_titan.o
obj-$([31mCONFIG_ALPHA_WILDFIRE[0m) += core_wildfire.o
# Board support
obj-$([31mCONFIG_ALPHA_ALCOR[0m) += sys_alcor.o irq_i8259.o irq_srm.o
obj-$([31mCONFIG_ALPHA_CABRIOLET[0m) += sys_cabriolet.o irq_i8259.o irq_srm.o \
pc873xx.o
obj-$([31mCONFIG_ALPHA_EB164[0m) += sys_cabriolet.o irq_i8259.o irq_srm.o \
pc873xx.o
obj-$([31mCONFIG_ALPHA_EB66P[0m) += sys_cabriolet.o irq_i8259.o irq_srm.o \
pc873xx.o
obj-$([31mCONFIG_ALPHA_LX164[0m) += sys_cabriolet.o irq_i8259.o irq_srm.o \
smc37c93x.o
obj-$([31mCONFIG_ALPHA_PC164[0m) += sys_cabriolet.o irq_i8259.o irq_srm.o \
smc37c93x.o
obj-$([31mCONFIG_ALPHA_DP264[0m) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o
obj-$([31mCONFIG_ALPHA_SHARK[0m) += sys_dp264.o irq_i8259.o es1888.o smc37c669.o
obj-$([31mCONFIG_ALPHA_TITAN[0m) += sys_titan.o irq_i8259.o smc37c669.o
obj-$([31mCONFIG_ALPHA_EB64P[0m) += sys_eb64p.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_EB66[0m) += sys_eb64p.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_EIGER[0m) += sys_eiger.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_JENSEN[0m) += sys_jensen.o pci-noop.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_MARVEL[0m) += sys_marvel.o
obj-$([31mCONFIG_ALPHA_MIATA[0m) += sys_miata.o irq_pyxis.o irq_i8259.o \
es1888.o smc37c669.o
obj-$([31mCONFIG_ALPHA_MIKASA[0m) += sys_mikasa.o irq_i8259.o irq_srm.o
obj-$([31mCONFIG_ALPHA_NAUTILUS[0m) += sys_nautilus.o irq_i8259.o irq_srm.o
obj-$([31mCONFIG_ALPHA_NORITAKE[0m) += sys_noritake.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_RAWHIDE[0m) += sys_rawhide.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_RUFFIAN[0m) += sys_ruffian.o irq_pyxis.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_RX164[0m) += sys_rx164.o irq_i8259.o
obj-$([31mCONFIG_ALPHA_SABLE[0m) += sys_sable.o
obj-$([31mCONFIG_ALPHA_LYNX[0m) += sys_sable.o
obj-$([31mCONFIG_ALPHA_BOOK1[0m) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
obj-$([31mCONFIG_ALPHA_AVANTI[0m) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
obj-$([31mCONFIG_ALPHA_NONAME[0m) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
obj-$([31mCONFIG_ALPHA_P2K[0m) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
obj-$([31mCONFIG_ALPHA_XL[0m) += sys_sio.o irq_i8259.o irq_srm.o pc873xx.o
obj-$([31mCONFIG_ALPHA_SX164[0m) += sys_sx164.o irq_pyxis.o irq_i8259.o \
irq_srm.o smc37c669.o
obj-$([31mCONFIG_ALPHA_TAKARA[0m) += sys_takara.o irq_i8259.o pc873xx.o
obj-$([31mCONFIG_ALPHA_WILDFIRE[0m) += sys_wildfire.o irq_i8259.o
# Error support
obj-$([31mCONFIG_ALPHA_MARVEL[0m) += err_ev7.o err_marvel.o
obj-$([31mCONFIG_ALPHA_NAUTILUS[0m) += err_ev6.o
obj-$([31mCONFIG_ALPHA_TITAN[0m) += err_ev6.o err_titan.o
endif # GENERIC