From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1931 invoked by alias); 3 Dec 2002 16:42:25 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1915 invoked from network); 3 Dec 2002 16:42:24 -0000 Received: from unknown (HELO mailout5-0.nyroc.rr.com) (24.92.226.169) by sources.redhat.com with SMTP; 3 Dec 2002 16:42:24 -0000 Received: from doctormoo (syr-24-24-16-193.twcny.rr.com [24.24.16.193]) by mailout5-0.nyroc.rr.com (8.11.6/RoadRunner 1.20) with ESMTP id gB3GgLF22093; Tue, 3 Dec 2002 11:42:21 -0500 (EST) Received: from neroden by doctormoo with local (Exim 3.36 #1 (Debian)) id 18JG77-00031d-00; Tue, 03 Dec 2002 11:41:37 -0500 Date: Tue, 03 Dec 2002 08:42:00 -0000 To: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com, binutils@sources.redhat.com, dj@redhat.com Subject: (toplevel patch) Addendum to patch: Real make targets for configure-target-* Message-ID: <20021203164137.GA11630@doctormoo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Nathanael Nerode X-SW-Source: 2002-12/txt/msg00072.txt.bz2 Aargh. Same mistake that bites me every time. Consider this an integral part of the previous patch. --- Makefile.tpl.older 2002-12-03 11:39:44.000000000 -0500 +++ Makefile.tpl 2002-12-03 11:38:58.000000000 -0500 @@ -933,7 +933,8 @@ configure-target-[+module+]: $(TARGET_SUBDIR)/[+module+]/Makefile $(TARGET_SUBDIR)/[+module+]/multilib.out: $(BASE_CC_FOR_TARGET) - @r=`${PWD}`; export r; \ + @[ -d $(TARGET_SUBDIR)/[+module+] ] || mkdir $(TARGET_SUBDIR)/[+module+];\ + r=`${PWD}`; export r; \ echo "Configuring multilibs for [+module+]"; \ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/[+module+]/multilib.out 2> /dev/null