From patchwork Thu Feb 20 09:20:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1241318 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48NTd31vq7z9sRt for ; Thu, 20 Feb 2020 20:22:13 +1100 (AEDT) Received: from localhost ([::1]:38390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4i25-0004CQ-Ck for incoming@patchwork.ozlabs.org; Thu, 20 Feb 2020 04:22:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51807) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4i1X-00049m-RN for qemu-devel@nongnu.org; Thu, 20 Feb 2020 04:21:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4i1W-00089M-RC for qemu-devel@nongnu.org; Thu, 20 Feb 2020 04:21:35 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:37795) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4i1W-00088e-IO for qemu-devel@nongnu.org; Thu, 20 Feb 2020 04:21:34 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MGA0o-1jEe9v39Tg-00GZZu; Thu, 20 Feb 2020 10:20:59 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 05/13] configure: Avoid compiling system tools on user build by default Date: Thu, 20 Feb 2020 10:20:45 +0100 Message-Id: <20200220092053.1510215-6-laurent@vivier.eu> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200220092053.1510215-1-laurent@vivier.eu> References: <20200220092053.1510215-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:780mACu1T5rRuaU6FlM80qrxH2TIB1cxn81ytQDssc/c+WkEqKy Ka4qkmq9yWJg57/nqePkIar1s6gp8iIizxFCt5rTj9CHH1j+a0qgy9eWJBGAnvyzNNRiLaf ebV76i9DO6JuDLl3TVHVBMBM+oq9e9QQhWPWT+WEz7Nrn2qJhxn1BGrJ2HfvpQKu0rsnIvC AemFNrMlLalh/ZRui/nzQ== X-UI-Out-Filterresults: notjunk:1; V03:K0:0gVu4KHjcM0=:/U0kTB0Q0FUERlPdE/ueWl Ubh6dWnMwQWFngIqr9vF3hR10GsYgyxVUFxNXkETe1SFkWKsC6OU/CSezDQxQCe166yFw2WsK iY62bWWd3P/DNS7gsuJMxUQ7+BisgHGSplB9CEmQIJHYl6AC/EHlgPaSAe2D4RpJGocMctWGF ooGG4/WvqfDJ/PcXPR7kp8WTIM622Ih+R8uANC1dmEA2xMvsiGsT4eYmr7QG5PblLst3meYY6 +jGKoHqcrl2f7BwKnhxYZmBA6XlCdPA/4Lzyjp/4H3QmQodhSnkjmOGkKvQpQ9Q/kOjCB/ab2 8KGjiI8JsT3VFsUAiFg9EDMAwBHfse9SG1/xFaE2Osg21wxyGb6TOfg4rm/R22pHDg+Ut6NHW LudApx/mm1I6sXbcfu9ONZO7oWFZmwS257RvLDhhAEd/tXxB5AO1NF9iNM7QC36vPzUclUHMS o9sDS+E54T4BpOkXUJR2Kraki3vdxp4HpneSJV1vA3oKzEOla5RLhriji3Ihozz9c+iACp1HO aBGYgm/+/kBP9TmJxqrPIu/4lW7EIL/Nr+Lr/mSTWkcJgZqSyFf0+MD08aSjZ58DUumPOLF+4 MaYXF2MWBvCJwqAwylIGBiNB9UhNx8oJQRgreqvLBpxfAYoTKnl2SGx5rl/gXv1XMcShZl3+R VLfp298LibOOm3HUBtgh/FpdT97D44ztkNzdAhS+qxn57YKNNyrhhwD3zlK7H4iie530aLq0n gfu0TZ9MyS7wXppO3PNi0Se44I09/W3WsKPsZYBFNwpTzl698qTl5Z7OdHEfYEq1/C1TyTups l+I4vMOkuVa2TJXvDcye4cIsbTHMQTU201WhJKLfEECV+aqaCvSOg4w6f8cJ9w7joJEtT+5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.24 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: Riku Voipio , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Aleksandar Markovic , Aleksandar Rikalo , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé User-mode does not need the system tools. Do not build them by default if the user specifies --disable-system. This disables building the following binaries on a user-only build: - elf2dmp - qemu-edid - qemu-ga - qemu-img - qemu-io - qemu-nbd - ivshmem-client - ivshmem-server The qemu-user binaries are not affected by this change. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Laurent Vivier Message-Id: <20200217133327.25144-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- configure | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 5f5f4befb9f6..d57261e3ad0c 100755 --- a/configure +++ b/configure @@ -455,7 +455,7 @@ guest_agent_ntddscsi="no" guest_agent_msi="" vss_win32_sdk="" win_sdk="no" -want_tools="yes" +want_tools="" libiscsi="" libnfs="" coroutine="" @@ -2213,6 +2213,16 @@ else echo big/little test failed fi +########################################## +# system tools +if test -z "$want_tools"; then + if test "$softmmu" = "no"; then + want_tools=no + else + want_tools=yes + fi +fi + ########################################## # cocoa implies not SDL or GTK # (the cocoa UI code currently assumes it is always the active UI