From nobody Fri Dec 19 21:47:29 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1599220967; cv=none; d=zohomail.com; s=zohoarc; b=goaMt4bZXexFXxRpO9PlK2ZEb2vrBt6FSo+iGnmhhP/+54YJbOgHV61FbIWOhUwprI3y9Jl7ZLORVcgWaRJDcFXDTPYNrM5xDwGBLOh2BW48t4U6hRiK3dF1Nv/FzTXcZ1OrmXXRThKEN0i2a9rMtU/RnZIh3Z3cfKSlS5OAqYM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599220967; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=fb95rngN3tyyzsbUzaHa8dUJmYSZKnGjzDZsWjH6I2E=; b=cEy/vzSh03kYsI7VnfAzwTYYBzm5rwlG/fC8IZRWERKF1ssX3F+VTED0ZEbLmMib0uMTvU59PAZJF7J+JXtOAABaHzxHqv6DsOaLKUm4gekzCU62NWGG9vPs82DI8PD+dpR+a5BpcMxRLAU9fkYo79KbcK83iW/7cc8jZezDUdI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599220967873656.4920888556953; Fri, 4 Sep 2020 05:02:47 -0700 (PDT) Received: from localhost ([::1]:44172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEAQY-00077h-Id for importer@patchew.org; Fri, 04 Sep 2020 08:02:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEA6v-00016O-TU for qemu-devel@nongnu.org; Fri, 04 Sep 2020 07:42:29 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:40972 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kEA6t-0005Im-My for qemu-devel@nongnu.org; Fri, 04 Sep 2020 07:42:29 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-214-HghdD28iNjy4i9ZOdWkXaw-1; Fri, 04 Sep 2020 07:42:25 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E2F5C89BBC2; Fri, 4 Sep 2020 11:41:46 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id A356110013C4; Fri, 4 Sep 2020 11:41:46 +0000 (UTC) X-MC-Unique: HghdD28iNjy4i9ZOdWkXaw-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 41/46] configure: update dtc submodule Date: Fri, 4 Sep 2020 07:41:17 -0400 Message-Id: <20200904114122.31307-42-pbonzini@redhat.com> In-Reply-To: <20200904114122.31307-1-pbonzini@redhat.com> References: <20200904114122.31307-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0.0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.120; envelope-from=pbonzini@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/04 01:57:12 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yonggang Luo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Yonggang Luo Update the dtc submodule in configure already and symlink dtc after git submodule update, because on win32 symlinks to non-existing folders are forbidden. Signed-off-by: Yonggang Luo Message-Id: <20200902170054.810-2-luoyonggang@gmail.com> Signed-off-by: Paolo Bonzini --- configure | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 8e749ae38a..c71bceb8e8 100755 --- a/configure +++ b/configure @@ -1984,9 +1984,6 @@ fi if test "$meson" =3D git; then git_submodules=3D"${git_submodules} meson" fi -if test "$git_update" =3D yes; then - (cd "${source_path}" && GIT=3D"$git" "./scripts/git-submodule.sh" upda= te "$git_submodules") -fi =20 case "$meson" in git | internal) @@ -4165,7 +4162,6 @@ EOF if test -d "${source_path}/dtc/libfdt" || test -e "${source_path}/.g= it" ; then fdt=3Dgit mkdir -p dtc - symlink "$source_path/dtc/Makefile" "dtc/Makefile" fdt_cflags=3D"-I${source_path}/dtc/libfdt" fdt_ldflags=3D"-Ldtc/libfdt" fdt_libs=3D"$fdt_libs" @@ -6445,6 +6441,13 @@ if test "$cpu" =3D "s390x" ; then fi fi =20 +if test $git_update =3D 'yes' ; then + (cd "${source_path}" && GIT=3D"$git" "./scripts/git-submodule.sh" upda= te "$git_submodules") +fi +if test "$fdt" =3D "git" ; then + symlink "$source_path/dtc/Makefile" "dtc/Makefile" +fi + config_host_mak=3D"config-host.mak" =20 echo "# Automatically generated by configure - do not modify" > $config_ho= st_mak --=20 2.26.2