linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.5.38+bk: modversions.h generation
@ 2002-09-26  8:43 Alex Riesen
  0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2002-09-26  8:43 UTC (permalink / raw)
  To: Kai Germaschewski; +Cc: linux-kernel, trivial

Hi,

The .ver to #include part can be simplified a bit,
if we can assume everyone uses GNU find.


--- linus.linux-2.5/Makefile	2002-09-23 20:01:26.000000000 +0200
+++ v2.5.38+bk/Makefile	2002-09-26 10:34:10.000000000 +0200
@@ -437,9 +437,7 @@
 	   echo "#define _LINUX_MODVERSIONS_H"; \
 	   echo "#include <linux/modsetver.h>"; \
 	   cd .tmp_export-objs >/dev/null; \
-	   for f in `find modules -name \*.ver -print | sort`; do \
-	     echo "#include <linux/$${f}>"; \
-	   done; \
+	   find modules -name \*.ver -printf "#include <linux/%p>\\n" | sort; \
 	   echo "#endif"; \
 	) > $@.tmp; \
 	$(update-if-changed)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-26  8:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-26  8:43 [PATCH] 2.5.38+bk: modversions.h generation Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).