patch-2.2.18 linux/drivers/nubus/Makefile

Next file: linux/drivers/nubus/nubus.c
Previous file: linux/drivers/net/xpds/xpds.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/nubus/Makefile linux/drivers/nubus/Makefile
@@ -9,7 +9,19 @@
 # parent makefile.
 #
 
-L_OBJS   := nubus.o
 L_TARGET := nubus.a
+
+ifeq ($(CONFIG_MODULES),y)
+O_TARGET := nubus_n_syms.o
+OX_OBJS  := nubus_syms.o
+O_OBJS   := nubus.o
+L_OBJS   := nubus_n_syms.o
+else
+L_OBJS   := nubus.o
+endif
+
+ifdef CONFIG_PROC_FS
+L_OBJS   += proc.o
+endif
 
 include $(TOPDIR)/Rules.make

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