projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063517b
)
powerpc: Makefile simplification through use of cc-ifversion
author
Frans Pop
<elendil@planet.nl>
Thu, 23 Jul 2009 08:57:18 +0000
(08:57 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:12:33 +0000
(10:12 +1000)
Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Makefile
patch
|
blob
|
history
diff --git
a/arch/powerpc/Makefile
b/arch/powerpc/Makefile
index bc35f4e2b81cd0cfa65a536dfc99e877410f268e..952a3963e9e8b607e15fb7ffc21d8f8d5482dd8b 100644
(file)
--- 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)