From patchwork Tue Jul 17 19:55:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 142203 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4070558ljj; Tue, 17 Jul 2018 12:58:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdnHFUA+cmidj9TptNCAChzVyYqvryUP8OndbAaTqMgwG7QsBAyz57vYbJVIMWET4FCxbQv X-Received: by 2002:ac8:3346:: with SMTP id u6-v6mr3038457qta.182.1531857537948; Tue, 17 Jul 2018 12:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531857537; cv=none; d=google.com; s=arc-20160816; b=ShK2ZDASgHKi6GhPC77r605v77GDcPjXzy1DFldFdRbXkZV4MiMeBagepBti7wbq2L Imd0kfIraAOt5rQdGzGm+VmmksYznFZjsnq4yu/1sSq7g6+s8YvJh/pvWhRLh1avJlpQ 8oLhtLWfNc6DTmV4s8TXPJSbtiMnJKLeEHamDEb1lGA2B9QzEK0NIYZRWaZnM4cuHpFm 50tlty0YAV9z2OZ8k6unMRTWKT0S4K07kRW3tY0BfTAZ7PGkZ536N3sAE3bZoNmQMEf/ AyPeA+mPRP+9Blpl/KYwOiEwHqytRtAIqrshoN7DQJaK8sr005uYMGK/AKqVoygPuMd3 Smiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=29+FvpINvVhXvjWGCsM+H4mEKjX2TikV1CFyP9xq/sU=; b=k0ksvMKKdOlZ32EaUSV2L74ukwFArGKDIsiX6gLU74nuzIRwGzf7xYFfmZCxSEpDL4 0D2uGOfnCVXQ25a1oZZ4RHiKDNA5rPxTzka4PgOGcwgbZFx57OO5zusRZh3RmSfSLxL5 NR1sN3yETLkttZS0dMq+/G4gv5IlCIO4NrXvRkIxpLjFk/uW7qGQOJMsNfnfka3XyPfN O+EAj83efJPiSKMUrl/D7Tp0wdGQrT2xJCKH+nzWf3bnuUH6MQxoQvIhhavuXGMJArLM /n9lnylooflcTto8a72DhVQiE0k1gOSHBhjL1pEQKWMLuXSY7g9IGBmMKrIen58LUg4t DgjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=NS4d18bQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l35-v6si1636813qvg.30.2018.07.17.12.58.57 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Jul 2018 12:58:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=NS4d18bQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:32924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffW7d-0004DO-4M for patch@linaro.org; Tue, 17 Jul 2018 15:58:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffW4p-00031g-57 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffW4o-0004di-Ba for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:03 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:42800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffW4o-0004cs-4k for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:02 -0400 Received: by mail-wr1-x436.google.com with SMTP id e7-v6so2378169wrs.9 for ; Tue, 17 Jul 2018 12:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=29+FvpINvVhXvjWGCsM+H4mEKjX2TikV1CFyP9xq/sU=; b=NS4d18bQ5tdeC69EUsSYPSa4ZvfCGFjV4wrDoGm7kbR/yNUWBMQrI/J0DGs5kTr0xP QRUtP2ZAuXX/ud8mFxaQ5t/INkusP/+NST2w74pbfgbQKHBVzoIC47chTkps3CYlRL4r 6Ixas/f0XA9LOuzRblgzBnuBDn1ZQb9cJ0ApA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=29+FvpINvVhXvjWGCsM+H4mEKjX2TikV1CFyP9xq/sU=; b=QZUo7kngcQnyv7XhRnFi/tJjo9r+CJgnT4MYo7wukeysgUftx6fOEFnQQlgPL/X6xT p27pvcjwTsJgLk56CywlqFcfz86vwG2j0ymjRlN7AXXaLSLQIL9oRD81X8QDmFyjbnEz 80hmjYYWnru+F4Me2h4llGQugA7kWgzSGaBtuFAcpi8QPDoGvGOZWM6YLZIw5FkTVP0v 2yv2NRdlPMpryjXyMWeFD1x2qq6KZNFTQcdHa+RbZWIUZRBsE2ZJBeo3Qq13y+GA8NiV ywEsAr7MOyoSi6qumXWjkBPsq9cgogFhPslgqKiZ4pSzUGEH8NsmpjuL+GutKLjl/nus ooPQ== X-Gm-Message-State: AOUpUlG+4na3nMpZXdkXLWCBm/qGTdkvaCxirMSrY7Vv+j11bzlmMwGR OTVIeUYYr6qpHrbN7JzSi7SgWw== X-Received: by 2002:adf:ac2d:: with SMTP id v42-v6mr2382413wrc.142.1531857360994; Tue, 17 Jul 2018 12:56:00 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y13-v6sm2941415wrg.5.2018.07.17.12.55.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 12:55:56 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3F9FF3E0600; Tue, 17 Jul 2018 20:55:54 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Tue, 17 Jul 2018 20:55:40 +0100 Message-Id: <20180717195553.9111-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180717195553.9111-1-alex.bennee@linaro.org> References: <20180717195553.9111-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 Subject: [Qemu-devel] [PATCH v3 for 3.0 05/18] docker: split configure_qemu from build_qemu 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This allows some tests that just want to configure QEMU's source tree to do so. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- tests/docker/common.rc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/tests/docker/common.rc b/tests/docker/common.rc index 046f8a5921..ba1f942328 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -21,7 +21,7 @@ requires() done } -build_qemu() +configure_qemu() { config_opts="--enable-werror \ ${TARGET_LIST:+--target-list=${TARGET_LIST}} \ @@ -32,6 +32,11 @@ build_qemu() echo $config_opts $QEMU_SRC/configure $config_opts || \ { cat config.log && test_fail "Failed to run 'configure'"; } +} + +build_qemu() +{ + configure_qemu $@ make $MAKEFLAGS }