From: Frans Pop <elendil@planet.nl> To: linuxppc-dev@ozlabs.org Cc: benh@kernel.crashing.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH] powerpc: minor Makefile simplification through use of cc-ifversion Date: Thu, 23 Jul 2009 20:57:18 +0200 [thread overview] Message-ID: <200907232057.19942.elendil@planet.nl> (raw) Signed-off-by: Frans Pop <elendil@planet.nl> --- Change was suggested by Sam Ravnborg; see http://lkml.org/lkml/2009/7/18/15. Untested. 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)
WARNING: multiple messages have this Message-ID (diff)
From: Frans Pop <elendil@planet.nl> To: linuxppc-dev@ozlabs.org Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH] powerpc: minor Makefile simplification through use of cc-ifversion Date: Thu, 23 Jul 2009 20:57:18 +0200 [thread overview] Message-ID: <200907232057.19942.elendil@planet.nl> (raw) Signed-off-by: Frans Pop <elendil@planet.nl> --- Change was suggested by Sam Ravnborg; see http://lkml.org/lkml/2009/7/18/15. Untested. 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)
next reply other threads:[~2009-07-23 18:57 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-07-23 18:57 Frans Pop [this message] 2009-07-23 18:57 ` [PATCH] powerpc: minor Makefile simplification through use of cc-ifversion Frans Pop 2009-07-23 21:31 ` Sam Ravnborg 2009-07-23 21:31 ` Sam Ravnborg 2009-07-23 23:52 ` Benjamin Herrenschmidt 2009-07-23 23:52 ` Benjamin Herrenschmidt
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200907232057.19942.elendil@planet.nl \ --to=elendil@planet.nl \ --cc=benh@kernel.crashing.org \ --cc=linux-kbuild@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linuxppc-dev@ozlabs.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.