brintos

brintos / linux-shallow public Read only

0
0
Text · 619 B · 91ba82e Raw
24 lines · plain
1# SPDX-License-Identifier: GPL-2.02#3# Makefile for the Zorro bus specific drivers.4#5 6obj-$(CONFIG_ZORRO)	+= zorro.o zorro-driver.o zorro-sysfs.o7obj-$(CONFIG_PROC_FS)	+= proc.o8obj-$(CONFIG_ZORRO_NAMES) +=  names.o9 10hostprogs		:= gen-devlist11 12# Files generated that shall be removed upon make clean13clean-files := devlist.h14 15# Dependencies on generated files need to be listed explicitly16$(obj)/names.o: $(obj)/devlist.h17 18# And that's how to generate them19quiet_cmd_devlist = DEVLIST $@20      cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<21$(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist22	$(call cmd,devlist)23 24