From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 314C63858D1E for ; Sun, 25 Dec 2022 02:40:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 314C63858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 0C44F340F30; Sun, 25 Dec 2022 02:40:43 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: mips: add igen recursive dep Date: Sat, 24 Dec 2022 21:40:39 -0500 Message-Id: <20221225024039.7375-1-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Make sure the igen tool exists before trying to compile the mips subdir. This happens to work when mips has a subconfigure, but hits a race condition when that is removed. --- sim/Makefile.in | 49 ++++++++++++++++++++++++----------------------- sim/mips/local.mk | 3 +++ 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/sim/mips/local.mk b/sim/mips/local.mk index 159fd2947d47..a708f64f84ba 100644 --- a/sim/mips/local.mk +++ b/sim/mips/local.mk @@ -24,5 +24,8 @@ noinst_PROGRAMS += %D%/run +## TODO: Delete this once mips igen rules move here from Makefile.in. +SIM_ALL_RECURSIVE_DEPS += $(IGEN) + %C%_SIM_EXTRA_HW_DEVICES = tx3904cpu tx3904irc tx3904tmr tx3904sio AM_MAKEFLAGS += %C%_SIM_EXTRA_HW_DEVICES="$(%C%_SIM_EXTRA_HW_DEVICES)" -- 2.39.0