diff options
| author | Frans Pop <elendil@planet.nl> | 2009-07-23 04:57:18 -0400 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-19 20:12:33 -0400 |
| commit | f7d4f68d971b8234491b4a0be58aa6f659c1c194 (patch) | |
| tree | 5909a2a15fe2f53438cac49b23573f27b437a686 /arch/powerpc/Makefile | |
| parent | 063517bea114d4cb57bf582353d0a99b82775a63 (diff) | |
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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index bc35f4e2b81..952a3963e9e 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
| @@ -77,7 +77,7 @@ CPP = $(CC) -E $(KBUILD_CFLAGS) | |||
| 77 | CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__ | 77 | CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__ |
| 78 | 78 | ||
| 79 | ifeq ($(CONFIG_PPC64),y) | 79 | ifeq ($(CONFIG_PPC64),y) |
| 80 | GCC_BROKEN_VEC := $(shell if [ $(call cc-version) -lt 0400 ] ; then echo "y"; fi) | 80 | GCC_BROKEN_VEC := $(call cc-ifversion, -lt, 0400, y) |
| 81 | 81 | ||
| 82 | ifeq ($(CONFIG_POWER4_ONLY),y) | 82 | ifeq ($(CONFIG_POWER4_ONLY),y) |
| 83 | ifeq ($(CONFIG_ALTIVEC),y) | 83 | ifeq ($(CONFIG_ALTIVEC),y) |
