linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Matthew Wilcox <willy@parisc-linux.org>,
	grundler@parisc-linux.org, parisc-linux@parisc-linux.org,
	linux-kernel@vger.kernel.org
Subject: [2.6 patch] arch/parisc/Makefile: remove GCC_VERSION
Date: Thu, 12 Jan 2006 11:51:57 +0100	[thread overview]
Message-ID: <20060112105157.GT29663@stusta.de> (raw)

This patch removes the usage of GCC_VERSION from arch/parisc/Makefile.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.15-mm3-hppa/arch/parisc/Makefile.old	2006-01-12 03:11:45.000000000 +0100
+++ linux-2.6.15-mm3-hppa/arch/parisc/Makefile	2006-01-12 03:12:35.000000000 +0100
@@ -35,12 +35,8 @@
 
 OBJCOPY_FLAGS =-O binary -R .note -R .comment -S
 
-GCC_VERSION     := $(call cc-version)
-ifneq ($(shell if [ -z $(GCC_VERSION) ] ; then echo "bad"; fi ;),)
-$(error Sorry, couldn't find ($(cc-version)).)
-endif
-ifneq ($(shell if [ $(GCC_VERSION) -lt 0303 ] ; then echo "bad"; fi ;),)
-$(error Sorry, your compiler is too old ($(GCC_VERSION)).  GCC v3.3 or above is required.)
+ifneq ($(shell if [ $(call cc-version) -lt 0303 ] ; then echo "bad"; fi ;),)
+$(error Sorry, your compiler is too old.  GCC v3.3 or above is required.)
 endif
 
 cflags-y	:= -pipe


             reply	other threads:[~2006-01-12 10:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12 10:51 Adrian Bunk [this message]
2006-01-12 21:52 ` [2.6 patch] arch/parisc/Makefile: remove GCC_VERSION Sam Ravnborg
2006-01-12 21:54   ` [parisc-linux] " Kyle McMartin
2006-01-12 22:35     ` Sam Ravnborg
2006-01-12 23:25       ` Kyle McMartin
2006-08-19 17:19 Adrian Bunk
2006-11-21 20:37 Adrian Bunk
2006-12-01 11:49 Adrian Bunk
2006-12-01 18:23 ` Grant Grundler

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=20060112105157.GT29663@stusta.de \
    --to=bunk@stusta.de \
    --cc=grundler@parisc-linux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=parisc-linux@parisc-linux.org \
    --cc=sam@ravnborg.org \
    --cc=willy@parisc-linux.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;
as well as URLs for NNTP newsgroup(s).