aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorFrans Pop <elendil@planet.nl>2009-07-23 08:57:18 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-20 10:12:33 +1000
commitf7d4f68d971b8234491b4a0be58aa6f659c1c194 (patch)
tree5909a2a15fe2f53438cac49b23573f27b437a686 /arch/powerpc/Makefile
parent063517bea114d4cb57bf582353d0a99b82775a63 (diff)
downloadkernel_samsung_espresso10-f7d4f68d971b8234491b4a0be58aa6f659c1c194.zip
kernel_samsung_espresso10-f7d4f68d971b8234491b4a0be58aa6f659c1c194.tar.gz
kernel_samsung_espresso10-f7d4f68d971b8234491b4a0be58aa6f659c1c194.tar.bz2
powerpc: Makefile simplification through use of cc-ifversion
Signed-off-by: Frans Pop <elendil@planet.nl> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index bc35f4e..952a396 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -77,7 +77,7 @@ CPP = $(CC) -E $(KBUILD_CFLAGS)
CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__
ifeq ($(CONFIG_PPC64),y)
-GCC_BROKEN_VEC := $(shell if [ $(call cc-version) -lt 0400 ] ; then echo "y"; fi)
+GCC_BROKEN_VEC := $(call cc-ifversion, -lt, 0400, y)
ifeq ($(CONFIG_POWER4_ONLY),y)
ifeq ($(CONFIG_ALTIVEC),y)