public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] clean up use of ia64 scripts
@ 2007-08-28  7:30 Luming Yu
  2007-08-28  8:44 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Luming Yu @ 2007-08-28  7:30 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]

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 tool chain which
make the command:
make ARCH=ia64 oldconfig  fail if ia64 cross tool chain is __not__
installed or OBJDUMP and CC is __not__ set with cross tool path on a
non-ia64 box.  Given the current state of art of tool chain, I don't
know if these check are still useful. Please consider to remove it.

Thanks,
Luming

clean up use of ia64 scripts

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

---
 Makefile |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index 21033ed..aaabf0e 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -28,17 +28,6 @@ cflags-y     := -pipe $(EXTRA) -ffixed-r13 -
                   -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
-
 ifeq ($(call cc-version),0304)
        cflags-$(CONFIG_ITANIUM)        += -mtune=merced
        cflags-$(CONFIG_MCKINLEY)       += -mtune=mckinley

[-- Attachment #2: rpmbuild-bp.patch --]
[-- Type: application/octet-stream, Size: 924 bytes --]

diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index 21033ed..aaabf0e 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -28,17 +28,6 @@ cflags-y	:= -pipe $(EXTRA) -ffixed-r13 -
 		   -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
-
 ifeq ($(call cc-version),0304)
 	cflags-$(CONFIG_ITANIUM)	+= -mtune=merced
 	cflags-$(CONFIG_MCKINLEY)	+= -mtune=mckinley

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [RFC PATCH] clean up use of ia64 scripts
  2007-08-28  7:30 [RFC PATCH] clean up use of ia64 scripts Luming Yu
@ 2007-08-28  8:44 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2007-08-28  8:44 UTC (permalink / raw)
  To: linux-ia64

"Luming Yu" (on Tue, 28 Aug 2007 15:30:50 +0800) wrote:
>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 tool chain which
>make the command:
>make ARCH=ia64 oldconfig  fail if ia64 cross tool chain is __not__
>installed or OBJDUMP and CC is __not__ set with cross tool path on a
>non-ia64 box.  Given the current state of art of tool chain, I don't
>know if these check are still useful. Please consider to remove it.
>
>Thanks,
>Luming
>
>clean up use of ia64 scripts
>
>Signed-off-by: Yu Luming <luming.yu@intel.com>
>
>---
> Makefile |   11 -----------
> 1 file changed, 11 deletions(-)
>
>diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
>index 21033ed..aaabf0e 100644
>--- a/arch/ia64/Makefile
>+++ b/arch/ia64/Makefile
>@@ -28,17 +28,6 @@ cflags-y     := -pipe $(EXTRA) -ffixed-r13 -
>                   -falign-functions2 -frename-registers
>-fno-optimize-sibling-calls
> CFLAGS_KERNEL  := -mconstant-gp

Your patch is text wrapped.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-28  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-28  7:30 [RFC PATCH] clean up use of ia64 scripts Luming Yu
2007-08-28  8:44 ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox