From nobody Sun May 5 05:42:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1501105327205971.0480414595705; Wed, 26 Jul 2017 14:42:07 -0700 (PDT) Received: from localhost ([::1]:40097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU4D-0005rF-D8 for importer@patchew.org; Wed, 26 Jul 2017 17:42:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU2c-0004oo-IA for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daU2b-0006aa-NR for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:26 -0400 Received: from mail-ua0-x244.google.com ([2607:f8b0:400c:c08::244]:35219) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daU2b-0006aS-K5 for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:25 -0400 Received: by mail-ua0-x244.google.com with SMTP id d29so14016606uai.2 for ; Wed, 26 Jul 2017 14:40:25 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id f67sm4089846uaf.41.2017.07.26.14.40.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 14:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sYn+5dLdkQYsbZWyXNLCl3LR2WlBzZR7eKwzTFYt8ck=; b=PzNmnzUQXglOIlYqd9xwfOIiuHn8RieDcyy4EMzPtV6Bu+9SkQX2aO6x3ymYNo8Ho4 Lnev647nAecLnGRm1VRetIgR+2q8Mlg+IeVfuZQjh56DrL8pW0T9148xBDY4jinXRmqI NJ3AANRYgVMN+JSP8XxQnc1zD1hucSnEcYRntVIuvbVhwGlVarH6nA2onkPjyOGYgoER gW3js4OevqUUkdwsNwYkDjx+JWrR9Z/6uP215JoN6FShvX3nHHxdgWpuhtC+s4Qf4v2L 6nJIjvtAXuJ6/U+TQ09dLD3BsbxdXU0t2OhgLcK2EK608/oxWcAUZxGww4jrWd+ATqIb nwqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=sYn+5dLdkQYsbZWyXNLCl3LR2WlBzZR7eKwzTFYt8ck=; b=KJQrlJK9VjypWOJwYGHTcSxt2xORSKi75feSsvgkitZo2Xa2qI1KrDb2dhMGN8XwAB DRKItUjVcAB/vLYFf7/vqIizQjM9EfsoCbzwdwxJDgqfbkKC8A2J52G48SdUfHSeUvDO XKc3rLaC1I9CihBX4zFeMnHStl5ld36cLneWBLpQ8hp3IpUZezDTjTTBtRU+PZzrw+Un U+PtCfD8KFSXzBQ64c9MR9NgmZkf9D2U7SZck/XesZ/Ha3hbeYD0e34rBlVcYwK2pa3E ZKGYyQUjl8+JYJeBBVpD1u06jszvYRIT9MJtbsZlTnCE6xxg00n3ua8CF8cbM/yieuS/ 7OkA== X-Gm-Message-State: AIVw113dReTLwXQkjzkwAHcYz2tHuOefzzO51G+oBUjIwwPui/P2CpnC pDug7jPWi1oKWg== X-Received: by 10.31.154.1 with SMTP id c1mr1477398vke.97.1501105225039; Wed, 26 Jul 2017 14:40:25 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: John Arbuckle , Peter Maydell , Paolo Bonzini Date: Wed, 26 Jul 2017 18:40:07 -0300 Message-Id: <20170726214010.420-2-f4bug@amsat.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726214010.420-1-f4bug@amsat.org> References: <20170726214010.420-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::244 Subject: [Qemu-devel] [PATCH 1/4] configure: remember the user to run 'git submodule' command in source dir X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hogan , Juan Quintela , Peter Crosthwaite , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Yongbok Kim , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f8b1d014d7..063de32773 100755 --- a/configure +++ b/configure @@ -502,6 +502,7 @@ if test -f "./configure"; then pwd_is_source_path=3D"y" else pwd_is_source_path=3D"n" + git_submodule_path_info=3D"(in ${source_path})" fi =20 check_define() { @@ -3313,7 +3314,7 @@ else error_exit "pixman >=3D 0.21.8 not present. Your options:" \ " (1) Preferred: Install the pixman devel package (any recent" \ " distro should have packages as Xorg needs pixman too)." \ - " (2) Fetch the pixman submodule, using:" \ + " (2) Fetch the pixman submodule, using: $git_submodule_path_info= " \ " git submodule update --init pixman" fi mkdir -p pixman/pixman @@ -3593,7 +3594,7 @@ EOF # have neither and want - prompt for system/submodule install error_exit "DTC (libfdt) version >=3D 1.4.2 not present. Your options:= " \ " (1) Preferred: Install the DTC (libfdt) devel package" \ - " (2) Fetch the DTC submodule, using:" \ + " (2) Fetch the DTC submodule, using: $git_submodule_path_info" \ " git submodule update --init dtc" else # don't have and don't want --=20 2.13.3 From nobody Sun May 5 05:42:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1501105334998557.9865934640346; Wed, 26 Jul 2017 14:42:14 -0700 (PDT) Received: from localhost ([::1]:40098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU4L-0005xt-KY for importer@patchew.org; Wed, 26 Jul 2017 17:42:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU2g-0004r8-G1 for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daU2f-0006c5-J7 for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:30 -0400 Received: from mail-ua0-x241.google.com ([2607:f8b0:400c:c08::241]:36696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daU2f-0006bx-Dr for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:29 -0400 Received: by mail-ua0-x241.google.com with SMTP id w45so15063022uac.3 for ; Wed, 26 Jul 2017 14:40:29 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id f67sm4089846uaf.41.2017.07.26.14.40.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 14:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XziPhIwwhTTvguiAoRyQyzochqv1WtSuC5Pd1ehRESU=; b=GacT8ftYYnvlrV+H1g/Apu3tWAZEbR2c65tslBMxfaTW8kDcEEvOdVARe4Hg3A4NZt QiXagbgEuJk7IA/IDxlv2g7kS/3dktmI/vkJwDwadHvnCyVtMwwhwBajQLgIZXYNFCml TE7HnFRUbliwx512pAtrP1IlTsn7St58KtTSvwOhRt31hI7FeU8+qCKEggM0XgoarZ9M 3fGcUPWrZtRTNIbGkasMtCe/cxd9ZfPUzfyt7J3I4t5PtBMp0U6TagVDvy6afv2GQw11 NROHMctC44Fm2BXMEDTLbVX2aeupTGr0bknDgDrC8Q7O8hvQpOXkVvW6WjxFu24A1sx+ ybJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=XziPhIwwhTTvguiAoRyQyzochqv1WtSuC5Pd1ehRESU=; b=hfLyxLdjlG5aHBI6mvnRxxo9W1AF7MpxzIPtUTWuz1FjsDPqCiBjR880eAiRoauZEr DCK/7wraz6PTHDoxIDAAAPzjjAdrsIrRDu6ZBAIx+e5pkNQ0eO+QOKx1RdQqrETwtr8A mrprIlPJn0sxwql3ewFl83KzgZ/AwZXSRO2OxII6TOLTlEtFmmcuIPdYclQ4MTDfnqII XdbX0F0Tls+TYyJr2PR5gGeUeCTFLKJMEW0n8cWrzVzg78uJSAvjtGBMxH6WxlXtDj5e jRhg+EC7d9u3rbneJmFocZWJ8tfroLD++6kmRDmHxTtCCBM+uDGZZ0IMqGxo7B0ij3Ua MUlA== X-Gm-Message-State: AIVw111gJUs6uRxtNynPdwUsT9cHymAp6TkgSmaHMWogTPjulNy9/Opn o5uITp2ZgPnOxw== X-Received: by 10.31.132.210 with SMTP id g201mr1256116vkd.141.1501105228803; Wed, 26 Jul 2017 14:40:28 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: John Arbuckle , Peter Maydell , Paolo Bonzini Date: Wed, 26 Jul 2017 18:40:08 -0300 Message-Id: <20170726214010.420-3-f4bug@amsat.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726214010.420-1-f4bug@amsat.org> References: <20170726214010.420-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::241 Subject: [Qemu-devel] [PATCH for 2.10 2/4] fdt: check fdt_required condition can be satisfied _after_ testing libfdt X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hogan , Juan Quintela , Peter Crosthwaite , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Yongbok Kim , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Eric Blake --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 063de32773..0d5bdb3ae9 100755 --- a/configure +++ b/configure @@ -3558,15 +3558,6 @@ for target in $target_list; do esac done =20 -if test "$fdt_required" =3D "yes"; then - if test "$fdt" =3D "no"; then - error_exit "fdt disabled but some requested targets require it." \ - "You can turn off fdt only if you also disable all the system emulat= ion" \ - "targets which need it (by specifying a cut down --target-list)." - fi - fdt=3Dyes -fi - if test "$fdt" !=3D "no" ; then fdt_libs=3D"-lfdt" # explicitly check for libfdt_env.h as it is missing in some stable inst= alls @@ -3603,6 +3594,15 @@ EOF fi fi =20 +if test "$fdt_required" =3D "yes"; then + if test "$fdt" =3D "no"; then + error_exit "fdt disabled but some requested targets require it." \ + "You can turn off fdt only if you also disable all the system emulat= ion" \ + "targets which need it (by specifying a cut down --target-list)." + fi + fdt=3Dyes +fi + libs_softmmu=3D"$libs_softmmu $fdt_libs" =20 ########################################## --=20 2.13.3 From nobody Sun May 5 05:42:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 150110534241159.601151461491895; Wed, 26 Jul 2017 14:42:22 -0700 (PDT) Received: from localhost ([::1]:40099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU4R-00063J-58 for importer@patchew.org; Wed, 26 Jul 2017 17:42:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU2n-0004wa-U0 for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daU2i-0006dc-Uz for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:37 -0400 Received: from mail-ua0-x243.google.com ([2607:f8b0:400c:c08::243]:37150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daU2i-0006dR-Qt for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:32 -0400 Received: by mail-ua0-x243.google.com with SMTP id 80so15042804uas.4 for ; Wed, 26 Jul 2017 14:40:32 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id f67sm4089846uaf.41.2017.07.26.14.40.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 14:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=28v/GJlGhY0dicFSGDI3NdDhvnBuNKnHMSN8NW/xN4c=; b=EO5X+h6Er+cU7fouR6+jSiywwTqh8icQcWHmg437AYFLN2Y1qq9kBMcfSD3dm/FlGz MwtuktYEtpCWBqMD6+QHiOFwRb5/6tal/JFA1U2EyruEaf5ikLH8D7VZXOMnJv0UQ65D slOola4SJr093jaIMykgU12Q22DmO8qCYp0OkVCUSRNm5veDCQ0zrdzR0eWrowSLR21+ XI6bkhnBxbLE/Gdq0fCXlcBzSfJnxMG2BqqcDdLEbiRCoR2T+TSFnWYuiLK85u1QyskF MyQSMXrSxO2khhbneSulmq9hBPpwLj4FKL0z2JH41ZAxXKdB82lkc8Om8NpmNfxcgAG1 V3+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=28v/GJlGhY0dicFSGDI3NdDhvnBuNKnHMSN8NW/xN4c=; b=dcNk+WwLey68jKSqgqa3tTA12jLGSmVUrverO1pDt/CfiUtUmIv+Yl9UvqIxcrdnJW jgumGLPTX+1O+3RIBar+ZHI7QIfmT5jNmBfL5+xPMzNVdB+Stq+o40PzcPZlb6iBTpCp bKv8+eTQqDp3XjbjHZZK4WxlSpjyT8HB9zoZrBAl1o7dFDXpKXPYQzlRkix+1BqjUQvT i3WnCly8tT2oDQMTT8x1I2y+fN3sWSqmcWIOB9IafaiFavEDb5ny0fkHPovaXF6wqUkQ 4fpXgBQ/XuifNI8IIbwqxOQ4e+T4h5JXIRcSUlzZWJmLcxgWQxSgHl5RH9Ta5/P6kDV7 rqtg== X-Gm-Message-State: AIVw110o6KI/t1RdNhUXmmjIFsDGirkopqBabWzBm2b5rteoIY1qbpxK wJo6J3sKBIZ4Yvq6Fyc55A== X-Received: by 10.31.61.198 with SMTP id k189mr1478234vka.134.1501105232237; Wed, 26 Jul 2017 14:40:32 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: John Arbuckle , Peter Maydell , Paolo Bonzini Date: Wed, 26 Jul 2017 18:40:09 -0300 Message-Id: <20170726214010.420-4-f4bug@amsat.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726214010.420-1-f4bug@amsat.org> References: <20170726214010.420-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::243 Subject: [Qemu-devel] [PATCH for 2.10 3/4] fdt: probe for v1.4.2 using fdt_setprop_inplace_namelen_partial() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hogan , Juan Quintela , Peter Crosthwaite , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Yongbok Kim , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 instead of fdt_first_subnode() which is v1.4.0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Michael Roth --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0d5bdb3ae9..2d803d6a77 100755 --- a/configure +++ b/configure @@ -3565,7 +3565,10 @@ if test "$fdt" !=3D "no" ; then cat > $TMPC << EOF #include #include -int main(void) { fdt_first_subnode(0, 0); return 0; } +int main(void) { + fdt_setprop_inplace_namelen_partial(0, 0, 0, 0, 0, 0, 0); + return 0; +} EOF if compile_prog "" "$fdt_libs" ; then # system DTC is good - use it --=20 2.13.3 From nobody Sun May 5 05:42:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1501105425458309.9734151905518; Wed, 26 Jul 2017 14:43:45 -0700 (PDT) Received: from localhost ([::1]:40101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU5n-0007Ch-O0 for importer@patchew.org; Wed, 26 Jul 2017 17:43:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daU2n-0004wb-UL for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daU2m-0006fY-58 for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:37 -0400 Received: from mail-ua0-x243.google.com ([2607:f8b0:400c:c08::243]:35230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daU2m-0006fM-0J for qemu-devel@nongnu.org; Wed, 26 Jul 2017 17:40:36 -0400 Received: by mail-ua0-x243.google.com with SMTP id d29so14016965uai.2 for ; Wed, 26 Jul 2017 14:40:35 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id f67sm4089846uaf.41.2017.07.26.14.40.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 14:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IotLs8gGpu7KoYlscTRq1RJojUQgT7d89eQiG7IFgsQ=; b=f9rIO1l7t8ODv8q76shG4qQ6omfJwp/LuGSCAm0KtsqQ7/E4fYoTRpbbAq8tEvbHzT 6k8XcU107TxTLoSQWSF4QnEuLoKAjH99vsnWnjc6WvYiZAkq0bqH6mTsbR+MO9YfYDzx dpBAWXaOPxA7rQeJa9jMLJlKW3U7kDR2UScIu9KYNwhgRB52V9Q9rNirj9EWc3+coeD3 zH4R0VlbA3EER5LwBbeft8REbBjv8AVenDL/0mkrMwozlugL+ls1rO252y5SQXhZlKVC aksHlIPKk//c63s1gFUBlp0K9KVIscdneuO3AsWbeQss3Pds8AM4tAE+a/kW/f5nv8wT Cfvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=IotLs8gGpu7KoYlscTRq1RJojUQgT7d89eQiG7IFgsQ=; b=itXWUMUKzdOsPdZ3thRsWDxqAtWNQr7cozUaY7BuWD3j36wNnmKV6mhJuXfaaBc7I8 uw2YEOQTedMjY++3eVHVG1Meu3BCGC7kcnkluCHwXyr3r/KXx+Gi4VWxCO+sJFLVAphA PfWEjDGZ6jB8EcrjwmLKGQ5LDzI2UrPZxSGxc9kvoe1P03tKWJ3F2diALxVZvXcT7Y3n z/RXzn7HdbX088pls020Ye10NJ0uCMgwah4bntZeSMd4Nt8YGzYkX/ZH6sK3Ljn5XKRJ Wbrci18kBPNueS/7Qc+dTCDfX9KfMjvDK6u5DBMN+8ifIDkMEYK/nubMdqZHRk0Kp+Lr o0+A== X-Gm-Message-State: AIVw111JpMYiltJgHA4j5dwyAlEwBzJ+C8lW2uYIepJqhhMZLpQYTUNL pRHUgecYmWS2Xaf5tlJgBw== X-Received: by 10.176.7.133 with SMTP id c5mr1544491uaf.165.1501105235504; Wed, 26 Jul 2017 14:40:35 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: John Arbuckle , Peter Maydell , Paolo Bonzini Date: Wed, 26 Jul 2017 18:40:10 -0300 Message-Id: <20170726214010.420-5-f4bug@amsat.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726214010.420-1-f4bug@amsat.org> References: <20170726214010.420-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::243 Subject: [Qemu-devel] [RFC PATCH for 2.10 4/4] fdt: compile dtc submodule to check it is up-to-date X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hogan , Juan Quintela , Peter Crosthwaite , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Yongbok Kim , Aurelien Jarno Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Reported-by: John Arbuckle Message-Id: <65ED9743-B53C-4E6A-866F-C883650914CE@gmail.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 2d803d6a77..386262ec33 100755 --- a/configure +++ b/configure @@ -3575,15 +3575,29 @@ EOF fdt=3Dyes elif test -d ${source_path}/dtc/libfdt ; then # have submodule DTC - use it - fdt=3Dyes dtc_internal=3D"yes" mkdir -p dtc if [ "$pwd_is_source_path" !=3D "y" ] ; then - symlink "$source_path/dtc/Makefile" "dtc/Makefile" - symlink "$source_path/dtc/scripts" "dtc/scripts" + for f in $(cd $source_path/dtc && ls Makefile* *.?); do + symlink "$source_path/dtc/$f" "dtc/$f" + done + for d in scripts libfdt tests; do + symlink "$source_path/dtc/$d" "dtc/$d" + done + SRC_PATH=3D$source_path + fi + make -C dtc 1>/dev/null + + fdt_cflags=3D"-I${source_path}/dtc/libfdt" + fdt_libs=3D"-L$(pwd)/dtc/libfdt $fdt_libs" + if compile_prog "$fdt_cflags" "$fdt_libs" ; then + fdt=3Dyes + else + error_exit "Your DTC submodule is outdated. Your options:" \ + " (1) Preferred: Install the DTC (libfdt) devel package" \ + " (2) Update the DTC submodule, using: $git_submodule_path_info" \ + " git submodule update --init dtc" fi - fdt_cflags=3D"-I\$(SRC_PATH)/dtc/libfdt" - fdt_libs=3D"-L\$(BUILD_DIR)/dtc/libfdt $fdt_libs" elif test "$fdt" =3D "yes" ; then # have neither and want - prompt for system/submodule install error_exit "DTC (libfdt) version >=3D 1.4.2 not present. Your options:= " \ --=20 2.13.3