public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch 2.21/trunk] fix binutils install target for multi powerpc  target configuration
@ 2011-05-31  0:01 Matthias Klose
  2011-05-31  5:43 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Klose @ 2011-05-31  0:01 UTC (permalink / raw)
  To: binutils, Alan Modra

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

The fix for PR ld/12820 did break the installation when configured with 
--enable-targets=powerpc-linux-gnu,powerpc64-linux-gnu,...

/usr/bin/install -c embedspu embedspu 
'/home/packages/binutils/binutils-2.21.0.20110530/debian/binutils-multiarch/usr/bin'
/usr/bin/install: will not overwrite just-created 
`/home/packages/binutils/binutils-2.21.0.20110530/debian/binutils-multiarch/usr/bin/embedspu' 
with `embedspu'
make[6]: *** [install-binSCRIPTS] Error 1

patch attached.

   Matthias

[-- Attachment #2: foo.diff --]
[-- Type: text/x-diff, Size: 677 bytes --]

2011-05-30  Matthias Klose  <doko@ubuntu.com>

	* configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
	* configure: Regenerate.

diff --git a/binutils/configure.in b/binutils/configure.in
index 4a03c75..965d66c 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -304,7 +304,10 @@ changequote([,])dnl
 	  BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
 	  ;;
 	powerpc*-*-linux* | powerpc*-*-elf* | powerpc*-*-eabi*)
-	  BUILD_INSTALL_MISC="${BUILD_INSTALL_MISC} embedspu"
+	  case "$BUILD_INSTALL_MISC" in
+	    *embedspu*) ;;
+	    *) BUILD_INSTALL_MISC="${BUILD_INSTALL_MISC} embedspu"
+	  esac
 	  ;;
 	sh*-*-pe)
   	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'

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

* Re: [patch 2.21/trunk] fix binutils install target for multi powerpc  target configuration
  2011-05-31  0:01 [patch 2.21/trunk] fix binutils install target for multi powerpc target configuration Matthias Klose
@ 2011-05-31  5:43 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2011-05-31  5:43 UTC (permalink / raw)
  To: Matthias Klose; +Cc: binutils

On Mon, May 30, 2011 at 06:02:49PM +0200, Matthias Klose wrote:
> 	* configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
> 	* configure: Regenerate.

Please commit, 2.21 branch too.

-- 
Alan Modra
Australia Development Lab, IBM

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

end of thread, other threads:[~2011-05-30 23:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31  0:01 [patch 2.21/trunk] fix binutils install target for multi powerpc target configuration Matthias Klose
2011-05-31  5:43 ` Alan Modra

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 read-only IMAP folder(s) and NNTP newsgroup(s).