patch-2.4.0-test10 linux/drivers/zorro/Makefile

Next file: linux/drivers/zorro/gen-devlist.c
Previous file: linux/drivers/zorro/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/drivers/zorro/Makefile linux/drivers/zorro/Makefile
@@ -23,3 +23,11 @@
 L_OBJS   += names.o
 
 include $(TOPDIR)/Rules.make
+
+names.o: names.c devlist.h
+
+devlist.h: zorro.ids gen-devlist
+	./gen-devlist <zorro.ids
+
+gen-devlist: gen-devlist.c
+	$(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)