From patchwork Thu Jan 11 14:22:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 187401 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1482516dyi; Thu, 11 Jan 2024 06:25:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJ5A8A90Pf2Kydgq/6EQgflqkj/2nGgJoZ08XVi3rYebTWGJpcRMTTFFt1VbcLGosCF1yc X-Received: by 2002:a05:6102:310c:b0:468:90e:2c90 with SMTP id e12-20020a056102310c00b00468090e2c90mr663474vsh.26.1704983128043; Thu, 11 Jan 2024 06:25:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704983128; cv=pass; d=google.com; s=arc-20160816; b=lk7D7RRilPlN09qubxtJ2RprvPp5zBefWzRh0aeHrG97F7EboEmxEnXiPDUavt7tD0 xLkO2bc5JDrZLOKBtaYuJPFwByI2UNl2UutBXWNJ/kyZYy3/yjNDjuax8xoaUjA2O1V4 EPyyG4TVCC7NLZ20A5ig5SlKNHl3ZOupJMwHkGQHpD2Qij3P8rA2LFeBW8IsrP6Et07m q00n1sMAW9OhxNOHXJctwzpbbiQbCT7zAQdKiHED2Wa0RjQXoH6rQx26/uYKyjOGafL7 928+ct6YC8sbnjvwFI7PJeKCJI4VWvvfFi4q+RBxGklIZRGYbh7xtwVpWuZmAR7ym6sy JOOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=Q0Zd923948z+1K+Bpw1Ek5goW7pBGLdAf9EwFgZSGGs=; fh=KmB1rY4wfJoxLNIRobAPX5wj2NTysgcLMcOEINk4Ygg=; b=YmCyWUkAIWBUnj1JAfrH4vqyBcsFgvwYr8yIPw5PDWN7JhcR799ul/r+FxYfQkVFDL aMGyx0gKWSq5knon8sL4dzFAMBWfFSU5kZpxFckiG3etcJl/lXRfOGp9pYY+P0E0SEls mKs7ECFmFaavhJfxahx6m3VrjOwv5FcuUiH5AsCUXyEiYFypiq1CMwXRu+0QFPjEAU9Y RA42tRppW2kP/FBjaZCrOfPrAZQ4ourNOphNbKGcT46kgTUgfEW98Vm3rPP9xIMPo1Om DMJUw1i+S/HnRzBCEySNRN/5X6Bq8bTkxEFYvvw6EfQWlhoawq6U4+YYtTgW2o7Acfdt x11A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=cpM1jm7f; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id f15-20020a056102036f00b00467b790e118si104867vsa.315.2024.01.11.06.25.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:25:27 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=cpM1jm7f; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 98F85386102F for ; Thu, 11 Jan 2024 14:25:27 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 25FE0385DC3D for ; Thu, 11 Jan 2024 14:24:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 25FE0385DC3D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 25FE0385DC3D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704983073; cv=none; b=bNO2Ik04Y75p+1sTAIZhlXnIdGwpft2PcpQYyQ5WeeBDt9uugKZc+55cbCHVfRe+ht/hdHUayHgVJTRN70k/2Hj6K7LYA8raNP4zxbB9bnnGsqH5Qd98wyZTXMUtJjCakE0yHEDuTWkjNqaerZJaqIghbPvOYCHoPCx/+Gkp88o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704983073; c=relaxed/simple; bh=2ZaGtaS34QGDBHdOWdCqHwW7Hpq7xG+ycjRn/rd3HN4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=g6nVHeMmbF3I5WANdVzvKQr/fshO1S2FJ+eDATgHXV4+JEkwZhTybt/TFLwNfo9r9Zx7eCYiihG5TZ8LxBZPsluUYUTE8Bacn7hxsvd0u63ne1Ce84v6hCfeik+OY87RBvEmAeyy9NySYDs84KtFLgnkaU+xXK7K7n4Lte2E05A= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40e60e1373bso5769365e9.1 for ; Thu, 11 Jan 2024 06:24:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1704983066; x=1705587866; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q0Zd923948z+1K+Bpw1Ek5goW7pBGLdAf9EwFgZSGGs=; b=cpM1jm7fX5dH+/jDWFejtBh4PS9fvG03sQxa647ZoO0f/v6hNTMrJryxW105PdwM5D 24XRS6excIIGohvsTwwD/xIOUDd4RGhshAxnNF3k+O+3Gk7QigJqHNGhQDZVY5z+HhS4 gm2OFthk81kKsbcNG7GkyPs67KJefPdNmJfR8DkaGlcYgzVdUEIoyqJQr25dklcl7oJX Wan3rezy8fvcm5cPxPceOHr0ZZXzqjtnwaXjlmi87jjfa7xnAT3jgMPFNGSq+kClkT2d b3TjIRg2MCeSQ26dzev7DMjR/20rWn1ICf1pU2RzIicIXG2Mc2hwo4Aw5q73avOhgHEl dCWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704983066; x=1705587866; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q0Zd923948z+1K+Bpw1Ek5goW7pBGLdAf9EwFgZSGGs=; b=OehePchQBaAzkK2HDyTqG5/URR1EqvY4ntf3FOl8R/o7s7jtPCAgyM1QOY95V+Ub4n FWHrtLzOfBGvTiTeJiNEP8EwQVHVsInYllSU4HWnaLXEzi1uRxYBtf3RABMdlFRuH4XQ Ce0CbRStiSj0GwCo54EygtTF0HFg2CJjC1JNcfBLlMEPnIaQVg3LEusiTV92+thNk3XB u8hvQ+lbQKqqPoOEgYTwtOt5AF/B4CsHqd3/AF+70qlwpazJ8fmDRljlNZaMGxxm+U94 lYz15YRgpaBh1Sf+AyIUGLQkjoS31i+mB44A8d9dMFoo642DXzC8slTFkkyL5S7UcGXN XQVQ== X-Gm-Message-State: AOJu0Yx6f9iVoSJs3aqxSWB9KAzBT29ERJq2SIMHG30xin9d8dI5BCiv 73dm5So51LINGgX7nAyYJZcdzNG+ljzTt1eVR0ajlipt14WF3mk= X-Received: by 2002:a7b:c302:0:b0:40e:6084:5d16 with SMTP id k2-20020a7bc302000000b0040e60845d16mr471591wmj.69.1704983065581; Thu, 11 Jan 2024 06:24:25 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id x6-20020adfcc06000000b00336f43fa654sm1353341wrh.22.2024.01.11.06.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:24:25 -0800 (PST) From: Arthur Cohen To: gcc-patches@gcc.gnu.org, rguenther@suse.de Cc: gcc-rust@gcc.gnu.org, Pierre-Emmanuel Patry Subject: [PATCH 1/2] gccrs: fixup: Fix bootstrap build Date: Thu, 11 Jan 2024 15:22:08 +0100 Message-ID: <20240111142355.1110429-3-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240111142355.1110429-2-arthur.cohen@embecosm.com> References: <20240111142355.1110429-2-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787804388154930855 X-GMAIL-MSGID: 1787804388154930855 From: Pierre-Emmanuel Patry The bootstrap was failing due to a missing target which was not available during the bootstrap. ChangeLog: * Makefile.def: Add libgrust target to bootstrap. * Makefile.in: Regenerate. Signed-off-by: Pierre-Emmanuel Patry --- Makefile.def | 2 +- Makefile.in | 816 +++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 799 insertions(+), 19 deletions(-) diff --git a/Makefile.def b/Makefile.def index b889020afc6..1a256db5518 100644 --- a/Makefile.def +++ b/Makefile.def @@ -164,7 +164,7 @@ host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; host_modules= { module= gotools; }; host_modules= { module= libctf; bootstrap=true; }; host_modules= { module= libsframe; bootstrap=true; }; -host_modules= { module= libgrust; }; +host_modules= { module= libgrust; bootstrap=true; }; target_modules = { module= libstdc++-v3; bootstrap=true; diff --git a/Makefile.in b/Makefile.in index a1f64a2ab5a..263b979609b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1318,7 +1318,9 @@ all-host: maybe-all-libctf @if libsframe-no-bootstrap all-host: maybe-all-libsframe @endif libsframe-no-bootstrap +@if libgrust-no-bootstrap all-host: maybe-all-libgrust +@endif libgrust-no-bootstrap .PHONY: all-target @@ -43995,7 +43997,6 @@ configure-libgrust: stage_current @if libgrust maybe-configure-libgrust: configure-libgrust configure-libgrust: - @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ @@ -44019,6 +44020,304 @@ configure-libgrust: +.PHONY: configure-stage1-libgrust maybe-configure-stage1-libgrust +maybe-configure-stage1-libgrust: +@if libgrust-bootstrap +maybe-configure-stage1-libgrust: configure-stage1-libgrust +configure-stage1-libgrust: + @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE1_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 1 in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + \ + $(STAGE1_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stage2-libgrust maybe-configure-stage2-libgrust +maybe-configure-stage2-libgrust: +@if libgrust-bootstrap +maybe-configure-stage2-libgrust: configure-stage2-libgrust +configure-stage2-libgrust: + @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE2_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 2 in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE2_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stage3-libgrust maybe-configure-stage3-libgrust +maybe-configure-stage3-libgrust: +@if libgrust-bootstrap +maybe-configure-stage3-libgrust: configure-stage3-libgrust +configure-stage3-libgrust: + @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE3_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 3 in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE3_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stage4-libgrust maybe-configure-stage4-libgrust +maybe-configure-stage4-libgrust: +@if libgrust-bootstrap +maybe-configure-stage4-libgrust: configure-stage4-libgrust +configure-stage4-libgrust: + @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE4_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 4 in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE4_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stageprofile-libgrust maybe-configure-stageprofile-libgrust +maybe-configure-stageprofile-libgrust: +@if libgrust-bootstrap +maybe-configure-stageprofile-libgrust: configure-stageprofile-libgrust +configure-stageprofile-libgrust: + @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEprofile_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage profile in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEprofile_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stagetrain-libgrust maybe-configure-stagetrain-libgrust +maybe-configure-stagetrain-libgrust: +@if libgrust-bootstrap +maybe-configure-stagetrain-libgrust: configure-stagetrain-libgrust +configure-stagetrain-libgrust: + @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEtrain_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage train in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEtrain_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stagefeedback-libgrust maybe-configure-stagefeedback-libgrust +maybe-configure-stagefeedback-libgrust: +@if libgrust-bootstrap +maybe-configure-stagefeedback-libgrust: configure-stagefeedback-libgrust +configure-stagefeedback-libgrust: + @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEfeedback_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage feedback in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEfeedback_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stageautoprofile-libgrust maybe-configure-stageautoprofile-libgrust +maybe-configure-stageautoprofile-libgrust: +@if libgrust-bootstrap +maybe-configure-stageautoprofile-libgrust: configure-stageautoprofile-libgrust +configure-stageautoprofile-libgrust: + @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautoprofile_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage autoprofile in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEautoprofile_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + +.PHONY: configure-stageautofeedback-libgrust maybe-configure-stageautofeedback-libgrust +maybe-configure-stageautofeedback-libgrust: +@if libgrust-bootstrap +maybe-configure-stageautofeedback-libgrust: configure-stageautofeedback-libgrust +configure-stageautofeedback-libgrust: + @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautofeedback_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/libgrust/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage autofeedback in $(HOST_SUBDIR)/libgrust; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \ + cd $(HOST_SUBDIR)/libgrust || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libgrust/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=libgrust; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEautofeedback_CONFIGURE_FLAGS) +@endif libgrust-bootstrap + + + .PHONY: all-libgrust maybe-all-libgrust @@ -44030,7 +44329,6 @@ all-libgrust: stage_current TARGET-libgrust=all maybe-all-libgrust: all-libgrust all-libgrust: configure-libgrust - @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -44041,6 +44339,396 @@ all-libgrust: configure-libgrust +.PHONY: all-stage1-libgrust maybe-all-stage1-libgrust +.PHONY: clean-stage1-libgrust maybe-clean-stage1-libgrust +maybe-all-stage1-libgrust: +maybe-clean-stage1-libgrust: +@if libgrust-bootstrap +maybe-all-stage1-libgrust: all-stage1-libgrust +all-stage1: all-stage1-libgrust +TARGET-stage1-libgrust = $(TARGET-libgrust) +all-stage1-libgrust: configure-stage1-libgrust + @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE1_TFLAGS)"; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGE1_CXXFLAGS)" \ + LIBCFLAGS="$(LIBCFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) \ + $(STAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGE1_TFLAGS)" \ + $(TARGET-stage1-libgrust) + +maybe-clean-stage1-libgrust: clean-stage1-libgrust +clean-stage1: clean-stage1-libgrust +clean-stage1-libgrust: + @if [ $(current_stage) = stage1 ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage1-libgrust/Makefile ] || exit 0; \ + $(MAKE) stage1-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) \ + $(STAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stage2-libgrust maybe-all-stage2-libgrust +.PHONY: clean-stage2-libgrust maybe-clean-stage2-libgrust +maybe-all-stage2-libgrust: +maybe-clean-stage2-libgrust: +@if libgrust-bootstrap +maybe-all-stage2-libgrust: all-stage2-libgrust +all-stage2: all-stage2-libgrust +TARGET-stage2-libgrust = $(TARGET-libgrust) +all-stage2-libgrust: configure-stage2-libgrust + @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE2_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE2_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGE2_CXXFLAGS)" \ + LIBCFLAGS="$(STAGE2_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGE2_TFLAGS)" \ + $(TARGET-stage2-libgrust) + +maybe-clean-stage2-libgrust: clean-stage2-libgrust +clean-stage2: clean-stage2-libgrust +clean-stage2-libgrust: + @if [ $(current_stage) = stage2 ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage2-libgrust/Makefile ] || exit 0; \ + $(MAKE) stage2-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stage3-libgrust maybe-all-stage3-libgrust +.PHONY: clean-stage3-libgrust maybe-clean-stage3-libgrust +maybe-all-stage3-libgrust: +maybe-clean-stage3-libgrust: +@if libgrust-bootstrap +maybe-all-stage3-libgrust: all-stage3-libgrust +all-stage3: all-stage3-libgrust +TARGET-stage3-libgrust = $(TARGET-libgrust) +all-stage3-libgrust: configure-stage3-libgrust + @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE3_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE3_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGE3_CXXFLAGS)" \ + LIBCFLAGS="$(STAGE3_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGE3_TFLAGS)" \ + $(TARGET-stage3-libgrust) + +maybe-clean-stage3-libgrust: clean-stage3-libgrust +clean-stage3: clean-stage3-libgrust +clean-stage3-libgrust: + @if [ $(current_stage) = stage3 ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage3-libgrust/Makefile ] || exit 0; \ + $(MAKE) stage3-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stage4-libgrust maybe-all-stage4-libgrust +.PHONY: clean-stage4-libgrust maybe-clean-stage4-libgrust +maybe-all-stage4-libgrust: +maybe-clean-stage4-libgrust: +@if libgrust-bootstrap +maybe-all-stage4-libgrust: all-stage4-libgrust +all-stage4: all-stage4-libgrust +TARGET-stage4-libgrust = $(TARGET-libgrust) +all-stage4-libgrust: configure-stage4-libgrust + @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE4_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE4_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGE4_CXXFLAGS)" \ + LIBCFLAGS="$(STAGE4_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGE4_TFLAGS)" \ + $(TARGET-stage4-libgrust) + +maybe-clean-stage4-libgrust: clean-stage4-libgrust +clean-stage4: clean-stage4-libgrust +clean-stage4-libgrust: + @if [ $(current_stage) = stage4 ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage4-libgrust/Makefile ] || exit 0; \ + $(MAKE) stage4-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stageprofile-libgrust maybe-all-stageprofile-libgrust +.PHONY: clean-stageprofile-libgrust maybe-clean-stageprofile-libgrust +maybe-all-stageprofile-libgrust: +maybe-clean-stageprofile-libgrust: +@if libgrust-bootstrap +maybe-all-stageprofile-libgrust: all-stageprofile-libgrust +all-stageprofile: all-stageprofile-libgrust +TARGET-stageprofile-libgrust = $(TARGET-libgrust) +all-stageprofile-libgrust: configure-stageprofile-libgrust + @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEprofile_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEprofile_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGEprofile_TFLAGS)" \ + $(TARGET-stageprofile-libgrust) + +maybe-clean-stageprofile-libgrust: clean-stageprofile-libgrust +clean-stageprofile: clean-stageprofile-libgrust +clean-stageprofile-libgrust: + @if [ $(current_stage) = stageprofile ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stageprofile-libgrust/Makefile ] || exit 0; \ + $(MAKE) stageprofile-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stagetrain-libgrust maybe-all-stagetrain-libgrust +.PHONY: clean-stagetrain-libgrust maybe-clean-stagetrain-libgrust +maybe-all-stagetrain-libgrust: +maybe-clean-stagetrain-libgrust: +@if libgrust-bootstrap +maybe-all-stagetrain-libgrust: all-stagetrain-libgrust +all-stagetrain: all-stagetrain-libgrust +TARGET-stagetrain-libgrust = $(TARGET-libgrust) +all-stagetrain-libgrust: configure-stagetrain-libgrust + @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEtrain_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEtrain_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEtrain_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGEtrain_TFLAGS)" \ + $(TARGET-stagetrain-libgrust) + +maybe-clean-stagetrain-libgrust: clean-stagetrain-libgrust +clean-stagetrain: clean-stagetrain-libgrust +clean-stagetrain-libgrust: + @if [ $(current_stage) = stagetrain ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stagetrain-libgrust/Makefile ] || exit 0; \ + $(MAKE) stagetrain-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stagefeedback-libgrust maybe-all-stagefeedback-libgrust +.PHONY: clean-stagefeedback-libgrust maybe-clean-stagefeedback-libgrust +maybe-all-stagefeedback-libgrust: +maybe-clean-stagefeedback-libgrust: +@if libgrust-bootstrap +maybe-all-stagefeedback-libgrust: all-stagefeedback-libgrust +all-stagefeedback: all-stagefeedback-libgrust +TARGET-stagefeedback-libgrust = $(TARGET-libgrust) +all-stagefeedback-libgrust: configure-stagefeedback-libgrust + @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEfeedback_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEfeedback_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGEfeedback_TFLAGS)" \ + $(TARGET-stagefeedback-libgrust) + +maybe-clean-stagefeedback-libgrust: clean-stagefeedback-libgrust +clean-stagefeedback: clean-stagefeedback-libgrust +clean-stagefeedback-libgrust: + @if [ $(current_stage) = stagefeedback ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stagefeedback-libgrust/Makefile ] || exit 0; \ + $(MAKE) stagefeedback-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stageautoprofile-libgrust maybe-all-stageautoprofile-libgrust +.PHONY: clean-stageautoprofile-libgrust maybe-clean-stageautoprofile-libgrust +maybe-all-stageautoprofile-libgrust: +maybe-clean-stageautoprofile-libgrust: +@if libgrust-bootstrap +maybe-all-stageautoprofile-libgrust: all-stageautoprofile-libgrust +all-stageautoprofile: all-stageautoprofile-libgrust +TARGET-stageautoprofile-libgrust = $(TARGET-libgrust) +all-stageautoprofile-libgrust: configure-stageautoprofile-libgrust + @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautoprofile_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + $$s/gcc/config/i386/$(AUTO_PROFILE) \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEautoprofile_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGEautoprofile_TFLAGS)" \ + $(TARGET-stageautoprofile-libgrust) + +maybe-clean-stageautoprofile-libgrust: clean-stageautoprofile-libgrust +clean-stageautoprofile: clean-stageautoprofile-libgrust +clean-stageautoprofile-libgrust: + @if [ $(current_stage) = stageautoprofile ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stageautoprofile-libgrust/Makefile ] || exit 0; \ + $(MAKE) stageautoprofile-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + +.PHONY: all-stageautofeedback-libgrust maybe-all-stageautofeedback-libgrust +.PHONY: clean-stageautofeedback-libgrust maybe-clean-stageautofeedback-libgrust +maybe-all-stageautofeedback-libgrust: +maybe-clean-stageautofeedback-libgrust: +@if libgrust-bootstrap +maybe-all-stageautofeedback-libgrust: all-stageautofeedback-libgrust +all-stageautofeedback: all-stageautofeedback-libgrust +TARGET-stageautofeedback-libgrust = $(TARGET-libgrust) +all-stageautofeedback-libgrust: configure-stageautofeedback-libgrust + @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautofeedback_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libgrust && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEautofeedback_CFLAGS)" \ + GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \ + CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ + TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \ + $(TARGET-stageautofeedback-libgrust) + +maybe-clean-stageautofeedback-libgrust: clean-stageautofeedback-libgrust +clean-stageautofeedback: clean-stageautofeedback-libgrust +clean-stageautofeedback-libgrust: + @if [ $(current_stage) = stageautofeedback ]; then \ + [ -f $(HOST_SUBDIR)/libgrust/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stageautofeedback-libgrust/Makefile ] || exit 0; \ + $(MAKE) stageautofeedback-start; \ + fi; \ + cd $(HOST_SUBDIR)/libgrust && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean +@endif libgrust-bootstrap + + + + .PHONY: check-libgrust maybe-check-libgrust maybe-check-libgrust: @@ -44051,9 +44739,9 @@ check-libgrust: @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ + $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \ (cd $(HOST_SUBDIR)/libgrust && \ - $(MAKE) $(FLAGS_TO_PASS) check) + $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check) @endif libgrust @@ -44096,7 +44784,6 @@ maybe-info-libgrust: info-libgrust info-libgrust: \ configure-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44122,7 +44809,6 @@ maybe-dvi-libgrust: dvi-libgrust dvi-libgrust: \ configure-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44148,7 +44834,6 @@ maybe-pdf-libgrust: pdf-libgrust pdf-libgrust: \ configure-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44174,7 +44859,6 @@ maybe-html-libgrust: html-libgrust html-libgrust: \ configure-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44200,7 +44884,6 @@ maybe-TAGS-libgrust: TAGS-libgrust TAGS-libgrust: \ configure-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44227,7 +44910,6 @@ maybe-install-info-libgrust: install-info-libgrust install-info-libgrust: \ configure-libgrust \ info-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44254,7 +44936,6 @@ maybe-install-dvi-libgrust: install-dvi-libgrust install-dvi-libgrust: \ configure-libgrust \ dvi-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44281,7 +44962,6 @@ maybe-install-pdf-libgrust: install-pdf-libgrust install-pdf-libgrust: \ configure-libgrust \ pdf-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44308,7 +44988,6 @@ maybe-install-html-libgrust: install-html-libgrust install-html-libgrust: \ configure-libgrust \ html-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44334,7 +45013,6 @@ maybe-installcheck-libgrust: installcheck-libgrust installcheck-libgrust: \ configure-libgrust - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44359,7 +45037,6 @@ maybe-mostlyclean-libgrust: maybe-mostlyclean-libgrust: mostlyclean-libgrust mostlyclean-libgrust: - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44384,7 +45061,6 @@ maybe-clean-libgrust: maybe-clean-libgrust: clean-libgrust clean-libgrust: - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44409,7 +45085,6 @@ maybe-distclean-libgrust: maybe-distclean-libgrust: distclean-libgrust distclean-libgrust: - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -44434,7 +45109,6 @@ maybe-maintainer-clean-libgrust: maybe-maintainer-clean-libgrust: maintainer-clean-libgrust maintainer-clean-libgrust: - @: $(MAKE); $(unstage) @[ -f ./libgrust/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -63340,6 +64014,11 @@ stage1-start:: mkdir stage1-libsframe; \ mv stage1-libsframe libsframe @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stage1-libgrust ] || \ + mkdir stage1-libgrust; \ + mv stage1-libgrust libgrust +@endif libgrust @[ -d stage1-$(TARGET_SUBDIR) ] || \ mkdir stage1-$(TARGET_SUBDIR); \ mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) @@ -63465,6 +64144,11 @@ stage1-end:: cd $(HOST_SUBDIR); mv libsframe stage1-libsframe; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stage1-libgrust; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \ fi @@ -63657,6 +64341,12 @@ stage2-start:: mv stage2-libsframe libsframe; \ mv stage1-libsframe prev-libsframe || test -f stage1-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stage2-libgrust ] || \ + mkdir stage2-libgrust; \ + mv stage2-libgrust libgrust; \ + mv stage1-libgrust prev-libgrust || test -f stage1-lean +@endif libgrust @[ -d stage2-$(TARGET_SUBDIR) ] || \ mkdir stage2-$(TARGET_SUBDIR); \ mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -63807,6 +64497,12 @@ stage2-end:: mv prev-libsframe stage1-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stage2-libgrust; \ + mv prev-libgrust stage1-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \ @@ -64023,6 +64719,12 @@ stage3-start:: mv stage3-libsframe libsframe; \ mv stage2-libsframe prev-libsframe || test -f stage2-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stage3-libgrust ] || \ + mkdir stage3-libgrust; \ + mv stage3-libgrust libgrust; \ + mv stage2-libgrust prev-libgrust || test -f stage2-lean +@endif libgrust @[ -d stage3-$(TARGET_SUBDIR) ] || \ mkdir stage3-$(TARGET_SUBDIR); \ mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -64173,6 +64875,12 @@ stage3-end:: mv prev-libsframe stage2-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stage3-libgrust; \ + mv prev-libgrust stage2-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \ @@ -64445,6 +65153,12 @@ stage4-start:: mv stage4-libsframe libsframe; \ mv stage3-libsframe prev-libsframe || test -f stage3-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stage4-libgrust ] || \ + mkdir stage4-libgrust; \ + mv stage4-libgrust libgrust; \ + mv stage3-libgrust prev-libgrust || test -f stage3-lean +@endif libgrust @[ -d stage4-$(TARGET_SUBDIR) ] || \ mkdir stage4-$(TARGET_SUBDIR); \ mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -64595,6 +65309,12 @@ stage4-end:: mv prev-libsframe stage3-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stage4-libgrust; \ + mv prev-libgrust stage3-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \ @@ -64855,6 +65575,12 @@ stageprofile-start:: mv stageprofile-libsframe libsframe; \ mv stage1-libsframe prev-libsframe || test -f stage1-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stageprofile-libgrust ] || \ + mkdir stageprofile-libgrust; \ + mv stageprofile-libgrust libgrust; \ + mv stage1-libgrust prev-libgrust || test -f stage1-lean +@endif libgrust @[ -d stageprofile-$(TARGET_SUBDIR) ] || \ mkdir stageprofile-$(TARGET_SUBDIR); \ mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -65005,6 +65731,12 @@ stageprofile-end:: mv prev-libsframe stage1-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stageprofile-libgrust; \ + mv prev-libgrust stage1-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \ @@ -65198,6 +65930,12 @@ stagetrain-start:: mv stagetrain-libsframe libsframe; \ mv stageprofile-libsframe prev-libsframe || test -f stageprofile-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stagetrain-libgrust ] || \ + mkdir stagetrain-libgrust; \ + mv stagetrain-libgrust libgrust; \ + mv stageprofile-libgrust prev-libgrust || test -f stageprofile-lean +@endif libgrust @[ -d stagetrain-$(TARGET_SUBDIR) ] || \ mkdir stagetrain-$(TARGET_SUBDIR); \ mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -65348,6 +66086,12 @@ stagetrain-end:: mv prev-libsframe stageprofile-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stagetrain-libgrust; \ + mv prev-libgrust stageprofile-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \ @@ -65541,6 +66285,12 @@ stagefeedback-start:: mv stagefeedback-libsframe libsframe; \ mv stagetrain-libsframe prev-libsframe || test -f stagetrain-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stagefeedback-libgrust ] || \ + mkdir stagefeedback-libgrust; \ + mv stagefeedback-libgrust libgrust; \ + mv stagetrain-libgrust prev-libgrust || test -f stagetrain-lean +@endif libgrust @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \ mkdir stagefeedback-$(TARGET_SUBDIR); \ mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -65691,6 +66441,12 @@ stagefeedback-end:: mv prev-libsframe stagetrain-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stagefeedback-libgrust; \ + mv prev-libgrust stagetrain-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \ @@ -65907,6 +66663,12 @@ stageautoprofile-start:: mv stageautoprofile-libsframe libsframe; \ mv stage1-libsframe prev-libsframe || test -f stage1-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stageautoprofile-libgrust ] || \ + mkdir stageautoprofile-libgrust; \ + mv stageautoprofile-libgrust libgrust; \ + mv stage1-libgrust prev-libgrust || test -f stage1-lean +@endif libgrust @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \ mkdir stageautoprofile-$(TARGET_SUBDIR); \ mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -66057,6 +66819,12 @@ stageautoprofile-end:: mv prev-libsframe stage1-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stageautoprofile-libgrust; \ + mv prev-libgrust stage1-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \ @@ -66250,6 +67018,12 @@ stageautofeedback-start:: mv stageautofeedback-libsframe libsframe; \ mv stageautoprofile-libsframe prev-libsframe || test -f stageautoprofile-lean @endif libsframe +@if libgrust + @cd $(HOST_SUBDIR); [ -d stageautofeedback-libgrust ] || \ + mkdir stageautofeedback-libgrust; \ + mv stageautofeedback-libgrust libgrust; \ + mv stageautoprofile-libgrust prev-libgrust || test -f stageautoprofile-lean +@endif libgrust @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \ mkdir stageautofeedback-$(TARGET_SUBDIR); \ mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -66400,6 +67174,12 @@ stageautofeedback-end:: mv prev-libsframe stageautoprofile-libsframe; : ; \ fi @endif libsframe +@if libgrust + @if test -d $(HOST_SUBDIR)/libgrust; then \ + cd $(HOST_SUBDIR); mv libgrust stageautofeedback-libgrust; \ + mv prev-libgrust stageautoprofile-libgrust; : ; \ + fi +@endif libgrust @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \ From patchwork Thu Jan 11 14:22:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arthur Cohen X-Patchwork-Id: 187400 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1482504dyi; Thu, 11 Jan 2024 06:25:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcIBQczou9KLyMyhU5kGbtFprkcrwzqWTB5+QZh/dhRlyT0XhIif1goQ2hW9oLA0D7T/XJ X-Received: by 2002:a67:c496:0:b0:468:6d6:2771 with SMTP id d22-20020a67c496000000b0046806d62771mr717353vsk.8.1704983125886; Thu, 11 Jan 2024 06:25:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704983125; cv=pass; d=google.com; s=arc-20160816; b=jNzFitgqREamxJcb2B+ViPnYiz7ahhhSMs4pBhSKwwQpYt8xqjAHATnfqHGink13C5 XBVGAPeVKfErPcteKLUjW8WCZMP2xhLbRqrxGNXURBsuCeb4VPDvhn6r9JIiCbbFe6p7 Ui94KuEMHIrZS7F06Ep6br3n/nu6M9FRYFMk28Q3ydHi6Yc0H7uIfVG4xL187sYvEB7Z G47+bsmhkW6Egz27t+LGKKVYVd7R26lU3UwrssZ7bR21Y5UQ1cJADpVc+Z801I8VOBfU tVsvVh2iad1/hksjt+UuHX/DiwxW80LEpVTVnwBVvPieGeRZ3eob2JioVn4Fbbwrncf6 p09Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=T8vPPpDKfzJz11jLCbxG6cgPomszFIak1peY8hLhLRg=; fh=KmB1rY4wfJoxLNIRobAPX5wj2NTysgcLMcOEINk4Ygg=; b=TZIx7qXl8GSyxr4eRuTKmn2V+ycf7gIPIs53qDDWMUVJZIJ6PBQYkuZJoViWCYZtnb 08PjaJ3h/yQK3UmqfUGbec5OQGlc0VDXg/C8OWE7/mvecJhygl4g7qlLakcAcdTV3k7J 59fkmdsRnHSkEbZFFLQXlw983DC7OlGx6SdkaeZShuuuocU4so9rftr8UNsfQbOBxO0v YgIBYqlwk1lvkmfyKQfDpxkPeIuUF/YJ5YfiCRSP48nISlBaYt8k5wCCndaWaEjwG5EQ /UA7iSbpvZ1iidmTeq54STJdVjlZ9BTNYsAL3ccTVM2ftoNNX/rWN8fNBl+0nwpbDfZ+ ZIDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=VG5ni7pV; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id dl6-20020a056102298600b004670af633ecsi106959vsb.550.2024.01.11.06.25.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:25:24 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@embecosm.com header.s=google header.b=VG5ni7pV; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8727C3861855 for ; Thu, 11 Jan 2024 14:25:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 765CF3857726 for ; Thu, 11 Jan 2024 14:24:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 765CF3857726 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 765CF3857726 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::334 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704983072; cv=none; b=rozkGdBFD/P7te81Srbgzm1KRKpfskgId8WwUsICUm7S52mNuAEjATLntV6EnZFhgXq+bI1pcF4hp+XkldcogZvdIbkJQj+yVm1S1SeUBspQghK/3BRu5nZGRnj8Sy1weMCfdEfF4Sf8OLuWjtC9dCilHk/q14gQY6rs3l2ahdc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704983072; c=relaxed/simple; bh=LW88FACHN/XpOu3I7IlnDuxN+w1vb3kDTL26qTKSdSE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=rmjqoS35rWJQA4smSld2SIY6WgoDH83jE1tMYFI7AnaKxk/cdmzi9WdHw/Izft29HKU17d3kiyN+4fVedXWLZibv37CmIvUyV7dfMXwMA42VV91xsW/nfbDkkVcUWUfyTUruwMo1biygO8T4DQva9Yi04zkZx//q+YQ4oHAZYNI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40e62979feeso2010875e9.0 for ; Thu, 11 Jan 2024 06:24:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; t=1704983067; x=1705587867; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T8vPPpDKfzJz11jLCbxG6cgPomszFIak1peY8hLhLRg=; b=VG5ni7pVi0fxQAvCvv9ZboVtl7xQs2cdZFKGNPRdPNVdgudSHp06B7kjbDPj8147Np h9SZ1gRnT+l//fWfcnGtpc28dhPrZyoz5q3/sOvhqCuim9lXtUFY2SzoxgmTM19HMLKr sY+p7NWh3ysnrHp6R83oWQjYMW2a7kMQUvxHp5iz24Rtxr8X7Jf8ya/l6UxIAkeb6CxK UfHn5fRBdE/x/MMn/sbaTqe9g0RjKA1piGK10YyGmabvrg4URC4L4G6Fc3evbr8cgl8p uTKauwt7q+CZXYKtoYqzR3H1ZrULjHwNflJx5jHTcNahmJfuchn8DCJQUgyqhwOjoZHG MPGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704983067; x=1705587867; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T8vPPpDKfzJz11jLCbxG6cgPomszFIak1peY8hLhLRg=; b=tYgRsP4G4sFBqqNztvtK2y9O+plipALgAs28ca8Lp5LdK8iwBE7rNA4Jc0C9BY+dp1 n/ITcE1Xz7WX1FDiCKq1OwM+xiNAFNGpFrUVp+Vlur3+R0Ntq1LIrxqKFp6N4qiVGu0J leF3/rsU8DtNp5PHptmZ293oQgPAkJ4qGuVYIx2SwOc3GLtwMjp6v4EBKRYVkTRV7V16 DNttrorHOgn3PiR7wz1lsV35uhCc9NKQi5U7oVkzQlLVSzd9q8ENds+bceFjVT6SpwdR bJ/Htt04KIDaXhSdCTFEz0b61syPyCFtPzFZyPDxPfFoIvC8MoRZp3io77sQx2GHrY4c vK+A== X-Gm-Message-State: AOJu0YzP5f8puWPYAJvL8wF0dxPNwcbqvu0H1Jf5qx+j41vT9ZALwGD3 9oayAB8a0B2xafw4sc+37j39l4+J6Cy58dfD7PbyXbMEvp28QWw= X-Received: by 2002:a1c:740e:0:b0:40e:5d36:8bba with SMTP id p14-20020a1c740e000000b0040e5d368bbamr478205wmc.44.1704983067321; Thu, 11 Jan 2024 06:24:27 -0800 (PST) Received: from platypus.localdomain ([62.23.166.218]) by smtp.gmail.com with ESMTPSA id x6-20020adfcc06000000b00336f43fa654sm1353341wrh.22.2024.01.11.06.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:24:26 -0800 (PST) From: Arthur Cohen To: gcc-patches@gcc.gnu.org, rguenther@suse.de Cc: gcc-rust@gcc.gnu.org, Pierre-Emmanuel Patry Subject: [PATCH 2/2] gccrs: fixup: Fix missing build dependency Date: Thu, 11 Jan 2024 15:22:09 +0100 Message-ID: <20240111142355.1110429-4-arthur.cohen@embecosm.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240111142355.1110429-2-arthur.cohen@embecosm.com> References: <20240111142355.1110429-2-arthur.cohen@embecosm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787804385162820871 X-GMAIL-MSGID: 1787804385162820871 From: Pierre-Emmanuel Patry Fix the missing dependency between the gcc and libgrust. ChangeLog: * Makefile.def: Add a dependency to libgrust for all-gcc. * Makefile.in: Regenerate the file. Signed-off-by: Pierre-Emmanuel Patry --- Makefile.def | 1 + Makefile.in | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/Makefile.def b/Makefile.def index 1a256db5518..19954e7d731 100644 --- a/Makefile.def +++ b/Makefile.def @@ -375,6 +375,7 @@ dependencies = { module=configure-gcc; on=all-ld; }; dependencies = { module=configure-gcc; on=all-gold; }; dependencies = { module=configure-gcc; on=all-libiconv; }; dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; +dependencies = { module=all-gcc; on=all-libgrust; }; dependencies = { module=all-gcc; on=all-gettext; }; dependencies = { module=all-gcc; on=all-mpfr; }; dependencies = { module=all-gcc; on=all-mpc; }; diff --git a/Makefile.in b/Makefile.in index 263b979609b..edb0c8a9a42 100644 --- a/Makefile.in +++ b/Makefile.in @@ -67558,6 +67558,16 @@ all-stagetrain-gcc: all-stagetrain-libiberty all-stagefeedback-gcc: all-stagefeedback-libiberty all-stageautoprofile-gcc: all-stageautoprofile-libiberty all-stageautofeedback-gcc: all-stageautofeedback-libiberty +all-gcc: maybe-all-libgrust +all-stage1-gcc: maybe-all-stage1-libgrust +all-stage2-gcc: maybe-all-stage2-libgrust +all-stage3-gcc: maybe-all-stage3-libgrust +all-stage4-gcc: maybe-all-stage4-libgrust +all-stageprofile-gcc: maybe-all-stageprofile-libgrust +all-stagetrain-gcc: maybe-all-stagetrain-libgrust +all-stagefeedback-gcc: maybe-all-stagefeedback-libgrust +all-stageautoprofile-gcc: maybe-all-stageautoprofile-libgrust +all-stageautofeedback-gcc: maybe-all-stageautofeedback-libgrust all-gcc: maybe-all-gettext all-stage1-gcc: maybe-all-stage1-gettext all-stage2-gcc: maybe-all-stage2-gettext