diff options
author | Grant Grundler <grundler@parisc-linux.org> | 2006-12-01 19:06:39 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@ubuntu.com> | 2006-12-08 06:34:44 +0100 |
commit | f5280cbe8348eb5824885f3144483cec858ec8ed (patch) | |
tree | ce8a1074fcc5052010b3eb0a7a65be07ba8d096d /arch/parisc/Makefile | |
parent | [PARISC] Make Lasi Ethernet depend on GSC only (diff) | |
download | linux-f5280cbe8348eb5824885f3144483cec858ec8ed.tar.xz linux-f5280cbe8348eb5824885f3144483cec858ec8ed.zip |
[PARISC] Remove GCC_VERSION usage as suggested by Adrian Bunk
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/Makefile')
-rw-r--r-- | arch/parisc/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 9b7e42490dd1..760567a9ba16 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -35,12 +35,8 @@ FINAL_LD=$(CROSS_COMPILE)ld --warn-common --warn-section-align 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 ($(call cc-ifversion, -lt, 0303, "bad"),) +$(error Sorry, GCC v3.3 or above is required.) endif cflags-y := -pipe |