From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13065 invoked by alias); 13 Nov 2004 17:04:34 -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 13036 invoked from network); 13 Nov 2004 17:04:29 -0000 Received: from unknown (HELO lisa.goe.net) (134.76.166.209) by sourceware.org with SMTP; 13 Nov 2004 17:04:29 -0000 Received: from mutter.goe.net (mail@mutter-lisa0.a11.private [192.168.31.26]) by lisa.goe.net (8.12.10/8.12.10) with ESMTP id iADH4SF2023796 for ; Sat, 13 Nov 2004 18:04:28 +0100 Received: from igel.a11.private ([192.168.31.91]) by mutter.goe.net with esmtp (Exim 4.42) id 1CT1Jx-0006PC-9s for gdb-patches@sources.redhat.com; Sat, 13 Nov 2004 18:04:17 +0100 Received: by igel.a11.private (Postfix, from userid 500) id 1B25010C1BB; Sat, 13 Nov 2004 18:04:27 +0100 (CET) To: gdb-patches@sources.redhat.com Subject: [PATCH] Fix parallel build in sim/ppc From: Andreas Schwab X-Yow: Yow! Am I in Milwaukee? Date: Sat, 13 Nov 2004 17:04:00 -0000 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2004-11/txt/msg00289.txt.bz2 There are a few dependencies missing in sim/ppc/Makefile that can cause a parallel build to fail. Andreas. 2004-11-13 Andreas Schwab * Makefile.in (defines.h): Depend on tmp-defines. (hw.c hw.h): Depend on tmp-hw. (pk.h): Depend on tmp-pk. --- sim/ppc/Makefile.in.~1.17.~ 2004-08-05 23:14:06.000000000 +0200 +++ sim/ppc/Makefile.in 2004-11-13 14:57:50.535674611 +0100 @@ -660,6 +660,7 @@ tconfig.h: options.o: options.c $(CPU_H) $(OPTIONS_H) $(DEFINES_H) $(BASICS_H) $(IDEC= ODE_H) $(INLINE) $(LIB_SRC) $(BUILT_SRC) config.status Makefile $(CC) -c $(STD_CFLAGS) '-DOPCODE_RULES=3D"@sim_opcode@"' '-DIGEN_FLAGS=3D= "$(IGEN_FLAGS)"' '-DDGEN_FLAGS=3D"$(DGEN_FLAGS)"' $< =20 +defines.h: tmp-defines; @true tmp-defines: config.h Makefile sed -n -e '/^#define HAVE_/s/ 1$$/",/' -e '/^#define HAVE_/s//"HAVE_/p' <= config.h > tmp-defines.h $(SHELL) $(srcdir)/../../move-if-change tmp-defines.h defines.h @@ -787,6 +788,7 @@ misc.o: misc.c $(CONFIG_H) $(MISC_H) =20 =20 # real hardware +hw.c hw.h: tmp-hw; @true tmp-hw: Makefile $(HW_SRC) $(srcdir)/../../move-if-change # The first for loop is to remove duplicates. f=3D""; \ @@ -838,6 +840,7 @@ hw_vm.o: hw_vm.c $(DEVICE_TABLE_H) $(CPU =20 =20 # real packages +pk.h: tmp-pk; @true tmp-pk: Makefile $(PACKAGE_SRC) $(srcdir)/../../move-if-change # The first for loop is to remove duplicates. f=3D""; \ --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."