[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060819171938.GK7813@stusta.de>
Date: Sat, 19 Aug 2006 19:19:38 +0200
From: Adrian Bunk <bunk@...sta.de>
To: Sam Ravnborg <sam@...nborg.org>,
Matthew Wilcox <willy@...isc-linux.org>,
grundler@...isc-linux.org, parisc-linux@...isc-linux.org,
linux-kernel@...r.kernel.org, Kyle McMartin <kyle@...artin.ca>
Subject: [2.6 patch] arch/parisc/Makefile: remove GCC_VERSION
This patch removes the usage of GCC_VERSION from arch/parisc/Makefile.
There are no functional changes, it simply makes it a bit shorter (and
removes the last instance of GCC_VERSION in the kernel).
Signed-off-by: Adrian Bunk <bunk@...sta.de>
Acked-by: Kyle McMartin <kyle@...artin.ca>
---
This patch was already sent on:
- 12 Jan 2006
--- 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists