summaryrefslogtreecommitdiffstats
path: root/drivers/nubus/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
commitd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch)
treee2be02f33984c48ec019c654051d27964e42c441 /drivers/nubus/Makefile
parent609d1e803baf519487233b765eb487f9ec227a18 (diff)
Merge with 2.3.19.
Diffstat (limited to 'drivers/nubus/Makefile')
-rw-r--r--drivers/nubus/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/nubus/Makefile b/drivers/nubus/Makefile
index 781edd052..4d42035c3 100644
--- a/drivers/nubus/Makefile
+++ b/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