From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8790 invoked by alias); 30 May 2011 16:03:15 -0000 Received: (qmail 8746 invoked by uid 22791); 30 May 2011 16:03:11 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from einhorn.in-berlin.de (HELO einhorn.in-berlin.de) (192.109.42.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 May 2011 16:02:55 +0000 X-Envelope-From: doko@ubuntu.com Received: from [192.168.42.17] (dslb-088-073-074-198.pools.arcor-ip.net [88.73.74.198]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p4UG2pTj008834; Mon, 30 May 2011 18:02:52 +0200 Message-ID: <4DE3BFA9.1010606@ubuntu.com> Date: Tue, 31 May 2011 00:01:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: binutils@sourceware.org, Alan Modra Subject: [patch 2.21/trunk] fix binutils install target for multi powerpc target configuration Content-Type: multipart/mixed; boundary="------------010902020108090504000102" X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00380.txt.bz2 This is a multi-part message in MIME format. --------------010902020108090504000102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 491 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 --------------010902020108090504000102 Content-Type: text/x-diff; name="foo.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="foo.diff" Content-length: 677 2011-05-30 Matthias Klose * 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)' --------------010902020108090504000102--