[PATCH 424] Zorro devlist.h kbuild

From: Geert Uytterhoeven
Date: Tue Apr 13 2004 - 03:40:40 EST


Zorro: Quieten building of devlist.h (cfr. PCI)

--- linux-2.6.5-rc2/drivers/zorro/Makefile 2004-02-17 13:54:50.000000000 +0100
+++ linux-m68k-2.6.5-rc2/drivers/zorro/Makefile 2004-03-21 12:00:27.000000000 +0100
@@ -12,10 +12,11 @@
clean-files := devlist.h

# Dependencies on generated files need to be listed explicitly
-
$(obj)/names.o: $(obj)/devlist.h

# And that's how to generate them
-
+quiet_cmd_devlist = DEVLIST $@
+ cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
$(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
- ( cd $(obj); ./gen-devlist ) < $<
+ $(call cmd,devlist)
+

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/