public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Foley <pefoley2@verizon.net>
To: linux-kernel@vger.kernel.org
Cc: linux-ia64@vger.kernel.org, tony.luck@intel.com, fenghua.yu@intel.com
Subject: [PATCH] arch: ia64: don't check the toolchain if nothing is being
Date: Tue, 26 Apr 2011 00:20:50 +0000	[thread overview]
Message-ID: <4DB60FE2.5080701@verizon.net> (raw)

This patch disables the ia64 toolchain checks if nothing is being compiled
so targets like headers_install_all don't spew errors when they try
to compile ia64 code with a toolchain targeting a different architecture.

Signed-off-by: Peter Foley <pefoley2@verizon.net>
---
 arch/ia64/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index be7bfa1..b6279a0 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -30,8 +30,10 @@ cflags-y	:= -pipe $(EXTRA) -ffixed-r13 -mfixed-rangeñ2-f15,f32-f127 \
 		   -falign-functions2 -frename-registers -fno-optimize-sibling-calls
 KBUILD_CFLAGS_KERNEL := -mconstant-gp
 +ifeq ($(dot-config),1)
 GAS_STATUS	= $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
 KBUILD_CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")
+endif
  ifeq ($(GAS_STATUS),buggy)
 $(error Sorry, you need a newer version of the assember, one that is built from	\
-- 
1.7.5.rc1


                 reply	other threads:[~2011-04-26  0:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4DB60FE2.5080701@verizon.net \
    --to=pefoley2@verizon.net \
    --cc=fenghua.yu@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.com \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox