md: check arrays is suspended in mddev_detach before call quiesce operations
[linux/fpc-iii.git] / drivers / zorro / Makefile
blob91ba82e633e7656a92d7a0bbb57580a6f23fb654
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Zorro bus specific drivers.
6 obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o
7 obj-$(CONFIG_PROC_FS) += proc.o
8 obj-$(CONFIG_ZORRO_NAMES) += names.o
10 hostprogs := gen-devlist
12 # Files generated that shall be removed upon make clean
13 clean-files := devlist.h
15 # Dependencies on generated files need to be listed explicitly
16 $(obj)/names.o: $(obj)/devlist.h
18 # And that's how to generate them
19 quiet_cmd_devlist = DEVLIST $@
20 cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
21 $(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
22 $(call cmd,devlist)