linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove .tmp_gas_check
@ 2005-02-06 12:50 Olaf Hering
  2005-02-06 16:54 ` Tom Rini
  0 siblings, 1 reply; 13+ messages in thread
From: Olaf Hering @ 2005-02-06 12:50 UTC (permalink / raw)
  To: Tom Rini, linuxppc-dev


make ARCH=ppc tags leaves a .tmp_gas_check file behind.
Just remove it after the as test.

Signed-off-by: Olaf Hering <olh@suse.de>

diff -purNx tags ../linux-2.6.11-rc3.orig/arch/ppc/Makefile ./arch/ppc/Makefile
--- ../linux-2.6.11-rc3.orig/arch/ppc/Makefile	2005-02-03 02:57:05.000000000 +0100
+++ ./arch/ppc/Makefile	2005-02-06 10:51:21.000000000 +0100
@@ -112,10 +112,10 @@ include/asm-$(ARCH)/offsets.h: arch/$(AR
 TOUT	:= .tmp_gas_check
 # Ensure this is binutils 2.12.1 (or 2.12.90.0.7) or later for altivec
 # instructions.
-AS_ALTIVEC	:= $(shell echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; echo $$?)
+AS_ALTIVEC	:= $(shell echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; echo $$? ; rm -f $(TOUT))
 # gcc-3.4 and binutils-2.14 are a fatal combination.
 GCC_VERSION	:= $(call cc-version)
-BAD_GCC_AS	:= $(shell echo mftb 5 | $(AS) -mppc -many -o $(TOUT) >/dev/null 2>&1 && echo 0 || echo 1)
+BAD_GCC_AS	:= $(shell echo mftb 5 | $(AS) -mppc -many -o $(TOUT) >/dev/null 2>&1 ; echo $$? ; rm -f $(TOUT))
 
 checkbin:
 ifeq ($(GCC_VERSION)$(BAD_GCC_AS),03041)

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

end of thread, other threads:[~2005-02-07  8:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-06 12:50 [PATCH] remove .tmp_gas_check Olaf Hering
2005-02-06 16:54 ` Tom Rini
2005-02-06 16:56   ` Olaf Hering
2005-02-06 17:24     ` Tom Rini
2005-02-06 17:25       ` Olaf Hering
2005-02-06 20:04         ` Tom Rini
2005-02-06 20:08           ` Olaf Hering
2005-02-06 20:21             ` Tom Rini
2005-02-06 21:15               ` Olaf Hering
2005-02-06 21:49                 ` Tom Rini
2005-02-06 21:56                   ` Olaf Hering
2005-02-06 22:43                     ` Tom Rini
2005-02-07  8:23                       ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).