summaryrefslogtreecommitdiffstats
path: root/drivers/nubus/Makefile
diff options
context:
space:
mode:
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