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

Next file: linux/arch/alpha/kernel/apecs.c
Previous file: linux/arch/alpha/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/arch/alpha/kernel/Makefile linux/arch/alpha/kernel/Makefile
@@ -16,8 +16,25 @@
 
 O_TARGET := kernel.o
 O_OBJS   := entry.o traps.o process.o osf_sys.o irq.o signal.o setup.o \
-	    bios32.o ptrace.o time.o apecs.o lca.o cia.o
+	    bios32.o ptrace.o time.o
 OX_OBJS  := alpha_ksyms.o
+
+
+ifdef CONFIG_ALPHA_APECS
+O_OBJS   += apecs.o
+endif
+ifdef CONFIG_ALPHA_CIA
+O_OBJS   += cia.o
+endif
+ifdef CONFIG_ALPHA_LCA
+O_OBJS   += lca.o
+endif
+ifdef CONFIG_ALPHA_PYXIS
+O_OBJS   += pyxis.o
+endif
+ifdef CONFIG_ALPHA_T2
+O_OBJS   += t2.o
+endif
 
 all: kernel.o head.o
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov