makefile fix

From: carbonated beverage
Date: Sat May 29 2004 - 15:59:15 EST


Every time I build on the Ultra, I get a file called "64" in the top-level
directory. Here's a small patch to make it do the right thing(tm).

Note, I'm using ash as my /bin/sh. Works for me, at least, with bash and
ash.

-- DN
Daniel

===== Makefile 1.487 vs edited =====
--- 1.487/Makefile 2004-05-19 09:02:53 -07:00
+++ edited/Makefile 2004-05-29 13:54:29 -07:00
@@ -680,7 +680,7 @@
uts_len := 64

define filechk_version.h
- if ((`echo -n "$(KERNELRELEASE)" | wc -c ` > $(uts_len))); then \
+ if [ `echo -n "$(KERNELRELEASE)" | wc -c ` -gt $(uts_len) ]; then \
echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2; \
exit 1; \
fi; \
-
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/