public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Luming Yu <luming.yu@gmail.com>
To: linux-ia64@vger.kernel.org
Subject: [RFC PATCH] clean up use of ia64 tool chain check scripts --resent
Date: Thu, 20 Dec 2007 14:20:53 +0000	[thread overview]
Message-ID: <20071220142053.GE4217@localhost.localdomain> (raw)

Hello list,

ia64 seems to be the only one that use arch specific scripts to check
tool chain bugs that create the dependency on ia64 cross tool chain
that make the command : make ARCH=ia64 olconfig failed if ia64 cross
tool chain is __not__ installed or OBJDUMP and CC is __not__ set with
correct path on a non-ia64 box. Given the current state of art of
the tool chain, I don't know if these checks are still useful.
Please consider the following patch.

Thanks,
Luming

clean up use of ia64 tool chain check scripts

signed-off-by: Yu Luming <luming.yu@intel.com>

--
 Makefile |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)


--- linux-2.6.18.ia64/arch/ia64/Makefile.orig	2007-12-20 13:07:17.000000000 +0800
+++ linux-2.6.18.ia64/arch/ia64/Makefile	2007-12-20 13:01:50.000000000 +0800
@@ -28,16 +28,7 @@
 		   -falign-functions2 -frename-registers -fno-optimize-sibling-calls
 CFLAGS_KERNEL	:= -mconstant-gp
 
-GAS_STATUS	= $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
-CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")
-
-ifeq ($(GAS_STATUS),buggy)
-$(error Sorry, you need a newer version of the assember, one that is built from	\
-	a source-tree that post-dates 18-Dec-2002.  You can find a pre-compiled	\
-	static binary of such an assembler at:					\
-										\
-		ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz)
-endif
+CPPFLAGS += -DHAVE_WORKING_TEXT_ALIGN -DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE
 
 ifeq ($(call cc-version),0304)
 	cflags-$(CONFIG_ITANIUM)	+= -mtune=merced

             reply	other threads:[~2007-12-20 14:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20 14:20 Luming Yu [this message]
2008-01-03 22:07 ` [RFC PATCH] clean up use of ia64 tool chain check scripts --resent Luck, Tony
2008-01-09  3:41 ` [RFC PATCH] clean up use of ia64 tool chain check scripts Aron Griffis

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=20071220142053.GE4217@localhost.localdomain \
    --to=luming.yu@gmail.com \
    --cc=linux-ia64@vger.kernel.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: 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