mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: carbonated beverage <ramune@net-ronin.org>
To: linux-kernel@vger.kernel.org
Subject: makefile fix
Date: Sat, 29 May 2004 13:51:09 -0700	[thread overview]
Message-ID: <20040529205109.GA27792@net-ronin.org> (raw)

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; \

             reply	other threads:[~2004-05-29 20:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-29 20:51 carbonated beverage [this message]
2004-05-30 23:38 ` Paul Jackson
2004-05-31  6:27 ` Sam Ravnborg
2004-06-01 14:19 Piszcz, Justin Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040529205109.GA27792@net-ronin.org \
    --to=ramune@net-ronin.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®