Message ID | 20231129121841.253223-6-vignesh.raman@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp296212vqn; Wed, 29 Nov 2023 04:19:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7YzngTWt/XUn3jNWjpbieLHfRPftHy5iGwxzOPEGoLaKzi7UbxUOzgMgmhzK7MQ41Zeab X-Received: by 2002:a92:cad0:0:b0:35c:9c66:f71f with SMTP id m16-20020a92cad0000000b0035c9c66f71fmr15017732ilq.9.1701260383851; Wed, 29 Nov 2023 04:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701260383; cv=none; d=google.com; s=arc-20160816; b=b4YrDUX6u1fql/iJm2drxPqIRW5kuVeYLTki86OPlESlgNQXuY1cpkUKahIXgD4Yui E0pB6Qz8rTFn/wjqU2CH93fw+SS5yOMFKUengc5L1taod2e7yqz1maQzriPqfV/8Z75i GWU9UOl3qb6d85m1LmMXFnGLn9H2WtNgtr9TBwwNsFU/IQ2qMV1RfUidTRofmPKdbTaJ /V8XgEnXGh+PUeeAxBSyAVihb2XAna/iYTJL559SUyjC4MeM7DsOGk6q6LR0zaGcslZX 5dsuDqasPb9abu2ZIt9l78t3uXAreyEGEC19Z/Kb1j3Q/AervUQiRenCj/+hGGzrrg2P O6KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Edy349FNAljpj2WbedkltWmMgsESaCDNN1TmpXeQWFo=; fh=cxnKBCJg0bNcqydgpga3RSEfaAMQprbtiSOJOcJS6+w=; b=GdENpRn8A5wzF8W+1m748n/bVqYBPgPvRcyb+zuLRtnlUeVZ5qMx52cDLPK4IDB9wR wD6R5vJ/7gYo25IsoEX+PVwnWdEiwXnMHXsSC5tkf5BMgMHOPYCXYgmGuntfZEsASSvg KoHu2Usue+zoTsbyM93RwL2wn6rZYn11aQYOQp4ADXqHIUnNlaUdo1H3uJVG7bW5jOug LcPFKDxSU24AqWwm7F8lAW38gKEkzttNCkVIWAcIryMLKKoLRBhF7VspLQ6+hx71Zwcz f8sGWHJRMpkwie9K2t+Pbt7UdsmmJdF2yLQUVKXoOv5WpWtEr/mTBLV5rypzom9H+WLM GOaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JBI4zugh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id d20-20020aa78e54000000b006cd84368e8dsi7786983pfr.190.2023.11.29.04.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 04:19:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JBI4zugh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 35E1C8049108; Wed, 29 Nov 2023 04:19:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233277AbjK2MT0 (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Wed, 29 Nov 2023 07:19:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233540AbjK2MTP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Nov 2023 07:19:15 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 284EE1BC0; Wed, 29 Nov 2023 04:19:16 -0800 (PST) Received: from localhost.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: vignesh) by madras.collabora.co.uk (Postfix) with ESMTPSA id 51A836607323; Wed, 29 Nov 2023 12:19:11 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701260354; bh=LAiI9Zj6sblQ9PE3ddYSUkjK2felt6gCjLGE+jeFyco=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JBI4zughUA/jDHu5gvDlkhlQ5iGsI0NYo5djTinqxMvhvHuDL9bSt1DDeaRw3TBAT ZiribR2NUqhV0adE8O1YoMaTEFRKv0yVj3zAmRa2W9wlPxBNBssuJACW/srDajZ1O4 iG9tvVfFGLM+nz4d0IfGEM8z+WXFDNn5wOvScmCRaVzjfzH5oUjg7AdsyK4PhFoBdA FTWe8m5UzZNrL1u7FY3c1Y5tXX97pTHJSl8PQEPYT+mZ6gIUR3dT45aiEPBLbXsKn7 UWvTMSQiBFwEkd2znzd6OkgY89FvIvgUxk8ik8lU5tMiQwK1Yc1wywyq3u5haVFEEh /waf/05mDmOwA== From: Vignesh Raman <vignesh.raman@collabora.com> To: helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch Cc: david.heidelberg@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, emma@anholt.net, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v6 05/10] drm: ci: Use scripts/config to enable/disable configs Date: Wed, 29 Nov 2023 17:48:36 +0530 Message-Id: <20231129121841.253223-6-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231129121841.253223-1-vignesh.raman@collabora.com> References: <20231129121841.253223-1-vignesh.raman@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 29 Nov 2023 04:19:38 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783900808195920928 X-GMAIL-MSGID: 1783900808195920928 |
Series |
drm: ci: fixes
|
|
Commit Message
Vignesh Raman
Nov. 29, 2023, 12:18 p.m. UTC
Instead of modifying files in git to enable/disable configs, use scripts/config on the .config file which will be used for building the kernel. Acked-by: Helen Koike <helen.koike@collabora.com> Suggested-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com> --- v2: - Added a new patch in the series to use scripts/config to enable/disable configs v3: - No changes v4: - No changes v5: - No changes v6: - No changes --- drivers/gpu/drm/ci/build.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/ci/build.sh b/drivers/gpu/drm/ci/build.sh index e2260b4a1c67..97ff43759b91 100644 --- a/drivers/gpu/drm/ci/build.sh +++ b/drivers/gpu/drm/ci/build.sh @@ -75,19 +75,19 @@ else fi fi -for opt in $ENABLE_KCONFIGS; do - echo CONFIG_$opt=y >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config -done -for opt in $DISABLE_KCONFIGS; do - echo CONFIG_$opt=n >> drivers/gpu/drm/ci/${KERNEL_ARCH}.config -done - if [[ -n "${MERGE_FRAGMENT}" ]]; then ./scripts/kconfig/merge_config.sh ${DEFCONFIG} drivers/gpu/drm/ci/${MERGE_FRAGMENT} else make `basename ${DEFCONFIG}` fi +for opt in $ENABLE_KCONFIGS; do + ./scripts/config --enable CONFIG_$opt +done +for opt in $DISABLE_KCONFIGS; do + ./scripts/config --disable CONFIG_$opt +done + make ${KERNEL_IMAGE_NAME} mkdir -p /lava-files/