summaryrefslogtreecommitdiffstats
path: root/drivers/zorro/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-12 23:15:27 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-12 23:15:27 +0000
commitae38fd1e4c98588314a42097c5a5e77dcef23561 (patch)
treef9f10c203bb9e5fbad4810d1f8774c08dfad20ff /drivers/zorro/Makefile
parent466a823d79f41d0713b272e48fd73e494b0588e0 (diff)
Merge with Linux 2.3.50.
Diffstat (limited to 'drivers/zorro/Makefile')
-rw-r--r--drivers/zorro/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/drivers/zorro/Makefile b/drivers/zorro/Makefile
index a8c66ed09..8e14649b2 100644
--- a/drivers/zorro/Makefile
+++ b/drivers/zorro/Makefile
@@ -9,24 +9,17 @@
# parent makefile.
#
-SUB_DIRS :=
-MOD_SUB_DIRS := $(SUB_DIRS)
-ALL_SUB_DIRS := $(SUB_DIRS)
-
L_TARGET := zorro.a
-# Nasty trick as nobody references zorrosyms.o, but we still want it linked.
-ifeq ($(CONFIG_MODULES),y)
-O_TARGET = zorro_syms.o
-OX_OBJS = zorrosyms.o
-O_OBJS = zorro.o names.o
-L_OBJS := zorro_syms.o
-else
-L_OBJS := zorro.o names.o
-endif
+# Nasty trick as we need to link files with no references from the outside.
+O_TARGET := zorro_core.o
+L_OBJS := zorro_core.o
+OX_OBJS := zorro.o
ifdef CONFIG_PROC_FS
-L_OBJS += proc.o
+O_OBJS += proc.o
endif
+L_OBJS += names.o
+
include $(TOPDIR)/Rules.make