lkml.org 
[lkml]   [2004]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectmakefile fix
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@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:03    [W:0.028 / U:6.076 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site