dm-crypt: use __bio_add_page to add single page to clone bio
[linux-block.git] / drivers / zorro / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
2#
3# Makefile for the Zorro bus specific drivers.
4#
5
52182c75 6obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o
1da177e4 7obj-$(CONFIG_PROC_FS) += proc.o
52182c75 8obj-$(CONFIG_ZORRO_NAMES) += names.o
1da177e4 9
5f2fb52f 10hostprogs := gen-devlist
1da177e4
LT
11
12# Files generated that shall be removed upon make clean
13clean-files := devlist.h
14
15# Dependencies on generated files need to be listed explicitly
16$(obj)/names.o: $(obj)/devlist.h
17
18# And that's how to generate them
19quiet_cmd_devlist = DEVLIST $@
20 cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
21$(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
22 $(call cmd,devlist)
23