From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936474AbWLALtG (ORCPT ); Fri, 1 Dec 2006 06:49:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936477AbWLALtF (ORCPT ); Fri, 1 Dec 2006 06:49:05 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:55814 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S936474AbWLALtD (ORCPT ); Fri, 1 Dec 2006 06:49:03 -0500 Date: Fri, 1 Dec 2006 12:49:08 +0100 From: Adrian Bunk To: Andrew Morton Cc: Sam Ravnborg , Matthew Wilcox , grundler@parisc-linux.org, parisc-linux@parisc-linux.org, linux-kernel@vger.kernel.org, Kyle McMartin Subject: [2.6 patch] arch/parisc/Makefile: remove GCC_VERSION Message-ID: <20061201114908.GR11084@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Kyle McMartin --- This patch was already sent on: - 21 Nov 2006 - 19 Aug 2006 - 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