patch-2.3.49 linux/arch/alpha/kernel/Makefile

Next file: linux/arch/alpha/kernel/core_apecs.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/arch/alpha/kernel/Makefile linux/arch/alpha/kernel/Makefile
@@ -13,10 +13,21 @@
 	$(CC) -D__ASSEMBLY__ $(AFLAGS) -c -o $*.o $<
 
 O_TARGET := kernel.o
-O_OBJS   := entry.o traps.o process.o osf_sys.o irq.o signal.o setup.o \
-	    ptrace.o time.o semaphore.o i8259.o
+O_OBJS   := entry.o traps.o process.o osf_sys.o irq.o irq_alpha.o \
+	    signal.o setup.o ptrace.o time.o semaphore.o
 OX_OBJS  := alpha_ksyms.o
 
+L_TARGET := rest.a
+L_OBJS	 := irq_i8259.o irq_srm.o \
+	    es1888.o smc37c669.o smc37c93x.o ns87312.o
+
+ifdef CONFIG_SMP
+O_OBJS   += smp.o irq_smp.o
+endif
+
+ifdef CONFIG_PCI
+L_OBJS   += pci.o pci_iommu.o
+endif
 
 ifdef CONFIG_ALPHA_GENERIC
 
@@ -25,13 +36,9 @@
 	    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 sys_rx164.o \
-	    es1888.o smc37c669.o smc37c93x.o ns87312.o pci.o pci_iommu.o
-else
+	    sys_sable.o sys_sio.o sys_sx164.o sys_takara.o sys_rx164.o
 
-ifdef CONFIG_PCI
-O_OBJS   += pci.o pci_iommu.o
-endif
+else
 
 # Core logic support
 ifdef CONFIG_ALPHA_APECS
@@ -67,10 +74,10 @@
 O_OBJS   += sys_alcor.o
 endif
 ifneq ($(CONFIG_ALPHA_CABRIOLET)$(CONFIG_ALPHA_EB164)$(CONFIG_ALPHA_EB66P)$(CONFIG_ALPHA_LX164)$(CONFIG_ALPHA_PC164),)
-O_OBJS   += sys_cabriolet.o ns87312.o
+O_OBJS   += sys_cabriolet.o
 endif
 ifdef CONFIG_ALPHA_DP264
-O_OBJS   += sys_dp264.o es1888.o smc37c669.o
+O_OBJS   += sys_dp264.o
 endif
 ifneq ($(CONFIG_ALPHA_EB64P)$(CONFIG_ALPHA_EB66),)
 O_OBJS   += sys_eb64p.o
@@ -82,7 +89,7 @@
 O_OBJS   += sys_jensen.o
 endif
 ifdef CONFIG_ALPHA_MIATA
-O_OBJS   += sys_miata.o es1888.o smc37c669.o
+O_OBJS   += sys_miata.o
 endif
 ifdef CONFIG_ALPHA_MIKASA
 O_OBJS   += sys_mikasa.o
@@ -106,25 +113,18 @@
 O_OBJS   += sys_sable.o
 endif
 ifneq ($(CONFIG_ALPHA_BOOK1)$(CONFIG_ALPHA_AVANTI)$(CONFIG_ALPHA_NONAME)$(CONFIG_ALPHA_P2K)$(CONFIG_ALPHA_XL),)
-O_OBJS   += sys_sio.o ns87312.o
+O_OBJS   += sys_sio.o
 endif
 ifdef CONFIG_ALPHA_SX164
-O_OBJS   += sys_sx164.o smc37c669.o
+O_OBJS   += sys_sx164.o
 endif
 ifdef CONFIG_ALPHA_TAKARA
-O_OBJS   += sys_takara.o ns87312.o
-endif
-
-# Device support
-ifneq ($(CONFIG_ALPHA_PC164)$(CONFIG_ALPHA_LX164),)
-O_OBJS   += smc37c93x.o
+O_OBJS   += sys_takara.o
 endif
 
 endif # GENERIC
 
-ifdef CONFIG_SMP
-O_OBJS   += smp.o
-endif
+O_OBJS	+= $(L_TARGET)
 
 all: kernel.o head.o
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)