Merge branch 'akpm'
[linux-2.6/next.git] / drivers / zorro / Makefile
blobf62172603215ed433a32f7945603c95bf05783c2
2 # Makefile for the Zorro bus specific drivers.
5 obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o names.o
6 obj-$(CONFIG_PROC_FS) += proc.o
8 hostprogs-y := gen-devlist
10 # Files generated that shall be removed upon make clean
11 clean-files := devlist.h
13 # Dependencies on generated files need to be listed explicitly
14 $(obj)/names.o: $(obj)/devlist.h
16 # And that's how to generate them
17 quiet_cmd_devlist = DEVLIST $@
18 cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
19 $(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
20 $(call cmd,devlist)