From nobody Mon Feb 9 04:54:17 2026 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.zoho.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 1496419904285361.92919823734167; Fri, 2 Jun 2017 09:11:44 -0700 (PDT) Received: from localhost ([::1]:50584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGpAs-0008HT-QA for importer@patchew.org; Fri, 02 Jun 2017 12:11:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGp7w-0005wt-DW for qemu-devel@nongnu.org; Fri, 02 Jun 2017 12:08:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGp7v-0004z6-FM for qemu-devel@nongnu.org; Fri, 02 Jun 2017 12:08:40 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:37102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGp7v-0004yj-8c for qemu-devel@nongnu.org; Fri, 02 Jun 2017 12:08:39 -0400 Received: by mail-wm0-x234.google.com with SMTP id d127so30557378wmf.0 for ; Fri, 02 Jun 2017 09:08:39 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id e73sm2258505wmd.1.2017.06.02.09.08.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 09:08:36 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 7FA7A3E031F; Fri, 2 Jun 2017 17:08:54 +0100 (BST) 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=i53bjYCFRwspWhHeexTtRr0V4E+fero576Y6nVyjLAs=; b=MqB0sIYODaxU/IrNrZv6nKC/AaQOpnjn5t6aTI3LFbqXK215kM/Awx/w+C7bNxRWU2 BURgTRH8DUsMef0tSfVaELkivk2QduvbrsnzjWyHunvKU8IUBLu58Wc+K5OGJjjVdelP lEI0D6/slVh66rCxtrdk4j/0M5f8sF29L8hpo= 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=i53bjYCFRwspWhHeexTtRr0V4E+fero576Y6nVyjLAs=; b=OqPJPN0qfeiIa80YM5edt4mCRUvwhtr8pypuUYxJE/m+WqJz6iVsivcZSjToCcy+uE DYW02RHy0dphrYZN7IJ6jQI3BZ50BrxTRKRF6/MkXMC+zikvQkqftkEpc4wLizejUlWa nkCsPbk7kk99N1lYGY4JPdLFCOfNAFZSqGMFtRfiN4grnmVoeWfwkp2MoaQG95nj2KHL DFlJKEQ72Ap/syFm97RONneSFXPO60GbTIWyyZ1CLfSxScVDKAZFyGt36OSw7UsDrMjK Sdx4Vf+//nRNwVrC6wUzf8z5EpqSseftechIyCP927w1xaLw5H16kWXUOpmUr1PnFJfV RPQw== X-Gm-Message-State: AODbwcAMip6srr8in8XNlRx+wS7jejFucdd0TUw3AJvUIVxIdH5T86Xu m9dcC4kWtJNU7N/A X-Received: by 10.28.149.65 with SMTP id x62mr35426wmd.35.1496419718271; Fri, 02 Jun 2017 09:08:38 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 2 Jun 2017 17:08:41 +0100 Message-Id: <20170602160848.4913-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170602160848.4913-1-alex.bennee@linaro.org> References: <20170602160848.4913-1-alex.bennee@linaro.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: 2a00:1450:400c:c09::234 Subject: [Qemu-devel] [RISU PATCH v4 03/10] build-all-archs: support --static flag 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=20Benn=C3=A9e?= , qemu-devel@nongnu.org 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: Alex Benn=C3=A9e --- build-all-archs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-all-archs b/build-all-archs index 78f062e..788ba36 100755 --- a/build-all-archs +++ b/build-all-archs @@ -18,6 +18,7 @@ usage() { =20 Options include: --use-docker[=3Dtags] use docker cross compile + --static build a static binary =20 If specifying docker the default will be to use the any qemu:debian-FOO-cross targets available on your system. @@ -41,6 +42,9 @@ while [[ "$1" =3D -* ]]; do docker_tags=3D"$arg" fi ;; + --static) + CONF=3D"--static" + ;; --help) usage ;; @@ -88,7 +92,7 @@ for triplet in aarch64-linux-gnu arm-linux-gnueabihf m68k= -linux-gnu \ rm -rf build/${triplet} mkdir -p build/${triplet} =20 - CONFIGURE=3D"cd build/${triplet} && CROSS_PREFIX=3D"${triplet}-" ../.= ./configure" + CONFIGURE=3D"cd build/${triplet} && CROSS_PREFIX=3D${triplet}- ../../= configure ${CONF}" MAKE=3D"make -C build/${triplet} EXTRA_CFLAGS=3D-Werror" =20 if [ -z "$use_docker_tag" ]; then --=20 2.13.0