From patchwork Tue Jul 24 10:50:57 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: 142752 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7116143ljj; Tue, 24 Jul 2018 03:54:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeLG6fM/V7+YWfYbaGu5ox5ecGSha1IJf+z8mAk+eIunsn36TT1vWQOWGnYDAeqxY63+NzI X-Received: by 2002:a37:318b:: with SMTP id x133-v6mr15010155qkx.16.1532429647519; Tue, 24 Jul 2018 03:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532429647; cv=none; d=google.com; s=arc-20160816; b=RlUbyJc3YSZKJPzcW46YSpnlbTygUZVy5jbtfvpNkK8+iG6IcnCqJSeqZUqTxm1p7s ihAhGPdqY0jjW4E2O51mNQr9QQ+0R/FPTEzLUhCenkca1Ze61ulW9ytWNGo3jtnt0J0A acuOrf36uhHE6jspflSiwCdZwcBeLLjCLvskJ3XS5jJNRLfzzEGq6JfKCYNL91XgJlLW T2PfIuCC1orwbibESJj4iWJ8O2hyNi/uyoGX/vyk92p7lIvqDpndQ78cymi7+/haiyGJ mVYd6A4pULb588wF91IELFeFj2rdkENP+PzokH1DUrBLie+wy/8ceRCz4IjkwRDkg2YH R0vA== 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=CryDkbZBQiYQ0RAme8ENjWqCxx8EiBJC8jPvCqj5j/A=; b=ztakcX0HR1Sr0GV7DbMjwJtSoAd6JqvBi7HoyFLzc0Cqhy8rmH/dRN/B1CKzj52RpZ ljq1XbMHfhj7TGpzA5+PlO860S5Wn+Q/FSZi75t/ZInxRB40DWavqdjiSDBtnd3ZFp6D iXf8n3YL4DTpj+IKcMEElyoq2p5vMZFIpyXq12Ym9Nq/4wkn5S/tRpcCYBPM0bxz0ZFL gStvaidePtKBBBpST0agcCXWmlZP14B0dZHYVwpFFiYxyzVCSm7ZwN0lEs8WoI6eKcQS bAPp46BUaqrV8usOMWuQkZH6iZnQqmwl838MAM12GuB7r6ZJfRRDUVNfeUYeBr3X+T1q spWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="chY/q8q0"; 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 g5-v6si3872085qto.46.2018.07.24.03.54.07 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Jul 2018 03:54:07 -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="chY/q8q0"; 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]:39446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhuxC-000220-Ul for patch@linaro.org; Tue, 24 Jul 2018 06:54:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhuuU-0000ro-0z for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhuuT-0006Qj-0i for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:18 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:37460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhuuS-0006QM-Oy for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:16 -0400 Received: by mail-wr1-x42f.google.com with SMTP id q10-v6so3663442wrd.4 for ; Tue, 24 Jul 2018 03:51:16 -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=CryDkbZBQiYQ0RAme8ENjWqCxx8EiBJC8jPvCqj5j/A=; b=chY/q8q0QG66f9As10fMVDTwWzec/0fBwqLmKjkptX09P4R7aKRWXqTy+E9UnMn7MJ EeJljDAuKYKTQM54GvecZuIwdLkj5z5YO08cjicJaOT1vih9vNw3u47zTwVGxo4xoH7D BSxaxbgB2zye//P3hfNgw8DijzCmUD1Q1STo0= 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=CryDkbZBQiYQ0RAme8ENjWqCxx8EiBJC8jPvCqj5j/A=; b=Ox/ccPW2yQDHnuhtivTVlGgyM3tsA8ER95BSg1BojHdQxs6XfLwIOiWWwRmARJsdR0 WUEFWpbmz1Bt6P9pPiWw6QN37MUuWMYvpLRug/YzoaD0QFiBNE04vjaAobpglr192gpY qPBZdhlUYQ+/H0dOqhXnG5CgsnzLjhtWEsmMWUMCZ10sAggLC3tG0FdqsXhj1sNXgvjU xQv8FV6gFCJycnkrPcnYYwBlsZmOgif5/4xNBYu5dNFLcNJXNPV5YHnK8W7/GstXz7Jk eODOAuIKnW2/6NL86+PrrvBTmgI5mUTW+dAApMgrYXyHX55d6xA9hk8KRIfdDZjlUpvn Jsxw== X-Gm-Message-State: AOUpUlE0gfo02OhwGJGUlC6C6H5HBpUyG6AcXMufTeX5tBQMt/UN0g+I RJt2f8n6bkcXdGGmeLvMcpnWOg== X-Received: by 2002:adf:d142:: with SMTP id b2-v6mr10973560wri.17.1532429475644; Tue, 24 Jul 2018 03:51:15 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id w8-v6sm1558580wra.7.2018.07.24.03.51.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 03:51:11 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 4506E3E061C; Tue, 24 Jul 2018 11:51:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 24 Jul 2018 11:50:57 +0100 Message-Id: <20180724105109.8392-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724105109.8392-1-alex.bennee@linaro.org> References: <20180724105109.8392-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::42f Subject: [Qemu-devel] [PULL 05/17] 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= 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é -- 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 }