diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-05-17 14:01:24 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-26 11:09:06 +0100 |
commit | 52182c758f7c9bc34dbee0dfdce13d356de50f03 (patch) | |
tree | 0705033c84736cf10bbe2dedb496a41ebfb8c9a3 /drivers/zorro/Makefile | |
parent | zorro: Don't fill in dummy names in zorro_name_device() (diff) | |
download | linux-52182c758f7c9bc34dbee0dfdce13d356de50f03.tar.xz linux-52182c758f7c9bc34dbee0dfdce13d356de50f03.zip |
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/Makefile | 3 |
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 |