From patchwork Mon Jul 9 15:21:11 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: 141435 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2801116ljj; Mon, 9 Jul 2018 08:30:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfNMxnW+LjQVHsze4a4D/+dN3l9hXBE4GJsk34WJFwNwxCKt6HDmtf7bbmYFFzHt/GH6U6v X-Received: by 2002:ac8:16dd:: with SMTP id y29-v6mr4681453qtk.34.1531150205111; Mon, 09 Jul 2018 08:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150205; cv=none; d=google.com; s=arc-20160816; b=rk0w5quWVDLqeGhOHmrRx2HJ0BLxaPgSeJPR9mczIJWh9eTYb5mQJsHItRi6ZshxNn 90DBq7KaQxbReh244dCF0zTAAkfPbtdb9xPKgDtQ2leOWYUNm7qCMFFkJ9D2qgQh+hqf T0rMbwGdfwPr7lTq+h/BU4uk5YSnTrY12Ur/UTnXL0NJYvCi19kkOC5fj50OuKhqxlSb OAp4/V0PgabcDbbILFh5aEUldUyDpdos3uYyffPL2Tf/SC99NxhYsAB7YpQvgCjZflJD V0D3MFzYjJNnzyPsBuUfAuEMBwrqIb57faAako1dfL712vRQvnWyMnGcV5pQOxRX9mvB NWBg== 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=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=P20MluO2E5yR9x9Zk/bmh2TWQ8Nn7VAUItZ/upms7Yq+nFEejz2gt7y9XhbDuiQ7BO ax9PiyJCkFY4CRFFrdJWWvEnnkDBTqaNmWDjFaHV99qZIgIXdE++GxnCGOpZf2E1aisj nykYX3LtuWG5Gs6zfFBs4tdPemQxTMTuaugPZqLr0aswCwg+O9fsW4hGMT+6gmaO2Vk0 qBsA7RDvpuDwu2nMBXh/TCNzEQOeh8CcHvA8zqmDr/Tl1LEx3gGBX6vB7ZZL/uvRVAPn ZJqL9b+DpZBL8Dqh6ujfp/fW1hf4XJiT6mDGL4hpanfne2Ts/JnISfUNh+UDw3yS6PhE dbAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aqe3o+1H; 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 p3-v6si1489897qtk.371.2018.07.09.08.30.04 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:30:05 -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=aqe3o+1H; 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]:42788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY72-00076F-GM for patch@linaro.org; Mon, 09 Jul 2018 11:30:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXye-0000lm-Rr for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyd-0005VW-T3 for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:24 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:38564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyd-0005VI-MS for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:23 -0400 Received: by mail-wm0-x234.google.com with SMTP id 69-v6so21053857wmf.3 for ; Mon, 09 Jul 2018 08:21:23 -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=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=aqe3o+1HL0Oud1FknMm8f54hhlmAE+lP9cqwSFfEqYcPaxkCnC2kM/7G1pJdjnkjJV hx3rzbaFi2M2s5l/hDz2c1BnD25oeocuE6cCZfHUzikI5UzSCfuxJoK1LXu2VwbEhVUE zqGWaSWTpzhMwXUFTAo90sO4gNkVG625YZ5qs= 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=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=B//kkAPpTtVzWdLUOMOheijGAyQPdVlthj3MiErK+iAzMFqFpbsGNqMLEf+h6aUmdV qEbnlI6yVeBdhsULtwnVTrRUt1Gn46lhMb5Vh3ty9PuyCx0nQMnqzgDFLuVbSG3daMNO gqIYGxNpUpBbrIfrsAU29sPFCQomujELn/wKLA+Ae04Vl4GwL4cJTbqTbf+FjcNXcjJB 8Az9esdH883qcyNBudqRoyNxI1iK/20Jibfn2EO2ZdPDEyZSjmZSHap89iSstDQ3vhCv wIPYs9z7VTs75yeYmi75Lb0f1DxpcDXIJ90Vox2QF8nhHT7tJZ6EMQ2meKJZux5LQAtX 98RA== X-Gm-Message-State: APt69E2SjjC13m5n08hy1b78jYsWoBU6uIoFWauCay1D5dxDpuJpPJG0 YabeNqjFqbxFzuAv83C1IT2OHw== X-Received: by 2002:a1c:9290:: with SMTP id u138-v6mr13665346wmd.52.1531149682674; Mon, 09 Jul 2018 08:21:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id z193-v6sm20752176wmc.14.2018.07.09.08.21.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 331E13E075D; Mon, 9 Jul 2018 16:21:18 +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: Mon, 9 Jul 2018 16:21:11 +0100 Message-Id: <20180709152117.21585-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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:400c:c09::234 Subject: [Qemu-devel] [PATCH for 3.0 04/10] 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 --- 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 }