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
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"; \
$(update-if-changed)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/