From patchwork Fri Oct 28 09:56:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 619508 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp894867pvb; Fri, 28 Oct 2022 02:58:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6nPzAIWTOcS7X9tBDOCCLNa3VVziFRwy35MruRrTjMCHbeXQW+onzv8aCwTwvFQCMRUUxB X-Received: by 2002:a05:622a:2d3:b0:3a5:92e:e3ac with SMTP id a19-20020a05622a02d300b003a5092ee3acmr1125992qtx.198.1666951102927; Fri, 28 Oct 2022 02:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666951102; cv=none; d=google.com; s=arc-20160816; b=rM2sMguVQj7g6VcFZy48P/430GZ/jLBh5arKLxUvKKWZZdyq9xQl09GsTolOplg/xO s4M0AE7/iK1aMKUr0IxOCWEYRXJm0e0vxj7qOqJtqYE6lb/fxABLtE9sDl0yQJprYQ50 LG2nJIttYuohGxTK3KnqNSocsi6BC40jn5X6dMWj2usPkNHzW6HG0/setcI1Rb1eXF51 vO03LDBAjOkPfulQz89SOf0NkjVttYF0fPlQNGsclGapEiXySpDKUGx7gbg+u2e4ORha Ig0VSSFxk6wDbMXz+NSDqA1jkUfVkgRPZylpuGSnJURm+O3ohAcIYcCeCZl1N6xdSWqm Mk+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ly/X4zWZ5kUZzYKSDVQ63uGT5gJNyfmZoqB52rBLDRY=; b=NQdNQTE1K/5C2w+2CI8DU1qCx8hDVITtBXl7eMCkh0sCuvTPVjiewE7LGZoT3qD+lX G0F3SvvFlZ4VKgqSF6wS4RYtDDjdFO+J74Mc3moK2CZNVPEJRCBzE/BMJ3VA2S5sVP/N jK3yYqi9KRXK6ffuvyAezgvKDdOxlD9F6In+CotRD5Ep27HCO+mXxHzRo0hM0qyNSmuV 3+Oea+1kpuL1rJKfF5LeqmZAIB1gcdmNfhac1npFo+x5g+8Gf8bKGeJMwoOJPQrlkh0H KHEx/8FYOKPwps7cydAqjplzwKlw3sCW66oJMJINSRHnykxZ3OsgPrREw1j9aHOFJSZP +myQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZCZRRqQm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e19-20020ac84153000000b003a4f4e376c1si2368423qtm.198.2022.10.28.02.58.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Oct 2022 02:58:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZCZRRqQm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooM6y-0003FX-MF; Fri, 28 Oct 2022 05:57:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooM6x-0003Ew-4D for qemu-devel@nongnu.org; Fri, 28 Oct 2022 05:57:11 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooM6v-0004Jb-Fv for qemu-devel@nongnu.org; Fri, 28 Oct 2022 05:57:10 -0400 Received: by mail-wm1-x333.google.com with SMTP id c3-20020a1c3503000000b003bd21e3dd7aso6217063wma.1 for ; Fri, 28 Oct 2022 02:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ly/X4zWZ5kUZzYKSDVQ63uGT5gJNyfmZoqB52rBLDRY=; b=ZCZRRqQmNIH0rrXLQASCICzZPCMXJXaaq6UtjyVoaqGXWib3UKINRQKP57wl1C1/NC GxNgigkIhq5sBuEg/uVeENT82OET05rUTBCt4ptUTVCUhRf1xCDoXZ6zpwApErZLu3pC MhNPzl6yXtdOYUtStDu39oPUK+f0KIH6/+D8d9Ry/drfWbF9zH9jkZWLnoJFFn7DVhcV DWRDjXGmDKCZerXR+99QtOGwyzDqV6PfKJmZacu+vU9SRaNU2UwiEIbwchCN78jo6u1T BBSxXhmFirQwVjpW4JS2wLlf+bENwGODDU3vxJ6C9qn7cKkd9R26XZN5Bjn0vxlnqQz7 CGFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ly/X4zWZ5kUZzYKSDVQ63uGT5gJNyfmZoqB52rBLDRY=; b=8HHH7hG6h3w+8dLPwTrgveYKmaTvcNa09k9h0Vf4sYM3syRD1roVp4xE33sFFbjFfG 7K8gROo3otMEbpnOFwq1R8T2fxgDueGc/OfNYT9sFtPvbiCJmaEv6YV74Q1zLX+U9jZT oyTAn+eylxMOZjWWMS3AXiYlg2zhxmdZkXsDDstAF/JcRzmvc41ddc19V09VbqUpRaTA luMDvmKc8tJXm3N5jxnjkSAyip35VKUHozP1mRqM6E+jCOq9WtdP1p/UsYt1+uik4Lqf tQl1QcIqXdMrharuwNJzeI3Z/6mSnKlN32dMu+uyjKSATseoAAazvCq6jkMDNKL2f2Hv zjcg== X-Gm-Message-State: ACrzQf2I/2xRiBqhPde9liYoupzlA7sPhPiIBgIq0ofuc0AiPGn3bU8D /XtwxyVdEK8Jf7SR3zI9yMZr34N+H4v1bDn7 X-Received: by 2002:a5d:4804:0:b0:236:94d4:5472 with SMTP id l4-20020a5d4804000000b0023694d45472mr5272800wrq.286.1666951027722; Fri, 28 Oct 2022 02:57:07 -0700 (PDT) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id o21-20020a05600c4fd500b003c43dc42b4dsm7704709wmq.16.2022.10.28.02.57.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 28 Oct 2022 02:57:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , "Daniel P . Berrange" , Richard Henderson Subject: [PATCH v5 1/3] tests/lcitool: Rename non-Debian specific helper Date: Fri, 28 Oct 2022 11:56:57 +0200 Message-Id: <20221028095659.48734-2-philmd@linaro.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221028095659.48734-1-philmd@linaro.org> References: <20221028095659.48734-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Alex Bennée This helper is not Debian specific, rename it to cross_build(). Signed-off-by: Alex Bennée Acked-by: Richard Henderson Message-Id: <20220929114231.583801-10-alex.bennee@linaro.org> Signed-off-by: Philippe Mathieu-Daudé --- tests/lcitool/refresh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh index e45c99adbe..a6a7c23c1d 100755 --- a/tests/lcitool/refresh +++ b/tests/lcitool/refresh @@ -93,7 +93,7 @@ debian11_extras = [ ] -def debian_cross_build(prefix, targets): +def cross_build(prefix, targets): conf = "ENV QEMU_CONFIGURE_OPTS --cross-prefix=%s\n" % (prefix) targets = "ENV DEF_TARGET_LIST %s\n" % (targets) return "".join([conf, targets]) @@ -121,45 +121,45 @@ try: # generate_dockerfile("debian-amd64-cross", "debian-11", cross="x86_64", - trailer=debian_cross_build("x86_64-linux-gnu-", - "x86_64-softmmu," - "x86_64-linux-user," - "i386-softmmu,i386-linux-user")) + trailer=cross_build("x86_64-linux-gnu-", + "x86_64-softmmu," + "x86_64-linux-user," + "i386-softmmu,i386-linux-user")) generate_dockerfile("debian-arm64-cross", "debian-11", cross="aarch64", - trailer=debian_cross_build("aarch64-linux-gnu-", - "aarch64-softmmu,aarch64-linux-user")) + trailer=cross_build("aarch64-linux-gnu-", + "aarch64-softmmu,aarch64-linux-user")) generate_dockerfile("debian-armel-cross", "debian-11", cross="armv6l", - trailer=debian_cross_build("arm-linux-gnueabi-", - "arm-softmmu,arm-linux-user,armeb-linux-user")) + trailer=cross_build("arm-linux-gnueabi-", + "arm-softmmu,arm-linux-user,armeb-linux-user")) generate_dockerfile("debian-armhf-cross", "debian-11", cross="armv7l", - trailer=debian_cross_build("arm-linux-gnueabihf-", - "arm-softmmu,arm-linux-user")) + trailer=cross_build("arm-linux-gnueabihf-", + "arm-softmmu,arm-linux-user")) generate_dockerfile("debian-mips64el-cross", "debian-11", cross="mips64el", - trailer=debian_cross_build("mips64el-linux-gnuabi64-", - "mips64el-softmmu,mips64el-linux-user")) + trailer=cross_build("mips64el-linux-gnuabi64-", + "mips64el-softmmu,mips64el-linux-user")) generate_dockerfile("debian-mipsel-cross", "debian-11", cross="mipsel", - trailer=debian_cross_build("mipsel-linux-gnu-", - "mipsel-softmmu,mipsel-linux-user")) + trailer=cross_build("mipsel-linux-gnu-", + "mipsel-softmmu,mipsel-linux-user")) generate_dockerfile("debian-ppc64el-cross", "debian-11", cross="ppc64le", - trailer=debian_cross_build("powerpc64le-linux-gnu-", - "ppc64-softmmu,ppc64-linux-user")) + trailer=cross_build("powerpc64le-linux-gnu-", + "ppc64-softmmu,ppc64-linux-user")) generate_dockerfile("debian-s390x-cross", "debian-11", cross="s390x", - trailer=debian_cross_build("s390x-linux-gnu-", - "s390x-softmmu,s390x-linux-user")) + trailer=cross_build("s390x-linux-gnu-", + "s390x-softmmu,s390x-linux-user")) # # Cirrus packages lists for GitLab