12345678910111213141516171819202122 |
- obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o names.o
- obj-$(CONFIG_PROC_FS) += proc.o
- hostprogs-y := gen-devlist
- clean-files := devlist.h
- $(obj)/names.o: $(obj)/devlist.h
- quiet_cmd_devlist = DEVLIST $@
- cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
- $(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
- $(call cmd,devlist)
|