lkml.org 
[lkml]   [2004]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 424] Zorro devlist.h kbuild
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@linux-m68k.org

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.037 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site