patch-2.4.0-prerelease linux/drivers/nubus/Makefile

Next file: linux/drivers/parport/Makefile
Previous file: linux/drivers/net/winbond-840.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/drivers/nubus/Makefile linux/drivers/nubus/Makefile
@@ -11,17 +11,11 @@
 
 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
+export-objs := nubus_syms.o
 
-ifdef CONFIG_PROC_FS
-L_OBJS   += proc.o
-endif
+obj-y   := nubus.o
+
+obj-$(CONFIG_MODULES) += nubus_syms.o 
+obj-$(CONFIG_PROC_FS) += proc.o
 
 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)