[RFC PATCH] clean up use of ia64 tool chain check scripts --resent

From: Luming Yu <luming.yu_at_gmail.com>
Date: 2007-12-21 01:20:53
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-functions=32 -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
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Dec 21 01:26:58 2007

This archive was generated by hypermail 2.1.8 : 2007-12-21 01:27:28 EST