summaryrefslogtreecommitdiff
path: root/drivers/zorro/Makefile
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-05-17 16:01:24 +0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-11-26 14:09:06 +0400
commit52182c758f7c9bc34dbee0dfdce13d356de50f03 (patch)
tree0705033c84736cf10bbe2dedb496a41ebfb8c9a3 /drivers/zorro/Makefile
parentbd79014cd47b3a0fa59a7a17489d8ada56ecab9b (diff)
downloadlinux-52182c758f7c9bc34dbee0dfdce13d356de50f03.tar.xz
zorro: Refactor conditional handling of Zorro device name database
Using an empty static inline function in the CONFIG_ZORRO_NAMES=n case allows to drop compilation of names.c. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/zorro/Makefile')
-rw-r--r--drivers/zorro/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/zorro/Makefile b/drivers/zorro/Makefile
index f62172603215..7dc5332ff984 100644
--- a/drivers/zorro/Makefile
+++ b/drivers/zorro/Makefile
@@ -2,8 +2,9 @@
# Makefile for the Zorro bus specific drivers.
#
-obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o names.o
+obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o
obj-$(CONFIG_PROC_FS) += proc.o
+obj-$(CONFIG_ZORRO_NAMES) += names.o
hostprogs-y := gen-devlist