]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/zorro/Makefile
scsi: hisi_sas: relocate sata_done_v2_hw()
[mirror_ubuntu-zesty-kernel.git] / drivers / zorro / Makefile
CommitLineData
1da177e4
LT
1#
2# Makefile for the Zorro bus specific drivers.
3#
4
52182c75 5obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o
1da177e4 6obj-$(CONFIG_PROC_FS) += proc.o
52182c75 7obj-$(CONFIG_ZORRO_NAMES) += names.o
1da177e4
LT
8
9hostprogs-y := gen-devlist
10
11# Files generated that shall be removed upon make clean
12clean-files := devlist.h
13
14# Dependencies on generated files need to be listed explicitly
15$(obj)/names.o: $(obj)/devlist.h
16
17# And that's how to generate them
18quiet_cmd_devlist = DEVLIST $@
19 cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
20$(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
21 $(call cmd,devlist)
22