From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20566 invoked by alias); 25 Jun 2007 10:32:38 -0000 Received: (qmail 20554 invoked by uid 22791); 25 Jun 2007 10:32:37 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Jun 2007 10:32:35 +0000 Received: (qmail 28909 invoked from network); 25 Jun 2007 10:32:34 -0000 Received: from unknown (HELO gateway) (10.0.0.100) by mail.codesourcery.com with SMTP; 25 Jun 2007 10:32:34 -0000 Received: by gateway (Postfix, from userid 1010) id 91C166C115; Mon, 25 Jun 2007 03:32:33 -0700 (PDT) From: Richard Sandiford To: gdb-patches@sourceware.org Mail-Followup-To: gdb-patches@sourceware.org, richard@codesourcery.com Subject: Fix parallel make problem with mipsisa* sim targets Date: Mon, 25 Jun 2007 10:52:00 -0000 Message-ID: <87lke81g00.fsf@firetop.home> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00445.txt.bz2 This patch fixes a parallel make problem when building MIPS16-enabled simulators. m16_run.c depends on the automatically-generated m16_idecode.h and m32_idecode.h, but had no rule to say so. Tested by building mipsisa64-elf. OK to install? (Probably obvious, but it's a long time since my last gdb patch.) Richard sim/mips/ * Makefile.in (m16_run.o): New rule. Index: sim/mips/Makefile.in =================================================================== RCS file: /cvs/src/src/sim/mips/Makefile.in,v retrieving revision 1.13 diff -u -p -r1.13 Makefile.in --- sim/mips/Makefile.in 20 Feb 2007 13:28:55 -0000 1.13 +++ sim/mips/Makefile.in 25 Jun 2007 10:28:28 -0000 @@ -186,6 +186,7 @@ engine.o: sim-main.h engine.c $(SIM_EXTR support.o: sim-main.h support.c $(SIM_EXTRA_DEPS) idecode.o: sim-main.h idecode.c $(SIM_EXTRA_DEPS) itable.o: sim-main.h itable.c $(SIM_EXTRA_DEPS) +m16run.o: sim-main.h m16_idecode.h m32_idecode.h $(SIM_EXTRA_DEPS) m16_semantics.o: sim-main.h m16_semantics.c $(SIM_EXTRA_DEPS) m16_support.o: sim-main.h m16_support.c $(SIM_EXTRA_DEPS)