X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Fparisc%2FMakefile;h=760567a9ba16e55e78b9def374a940bf65a74785;hb=6c1586bc9356855159e5845c6e788aa6db333cb9;hp=9b7e42490dd1f147fc6a1002f13767a49a81467f;hpb=7079060f3e86ea4c1d4e9c1e356592ef9dcaaa1f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 9b7e424..760567a 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