[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231207091831.660054-6-vignesh.raman@collabora.com>
Date: Thu, 7 Dec 2023 14:48:26 +0530
From: Vignesh Raman <vignesh.raman@...labora.com>
To: helen.koike@...labora.com, airlied@...il.com, daniel@...ll.ch
Cc: david.heidelberg@...labora.com, sergi.blanch.torne@...labora.com,
guilherme.gallo@...labora.com, daniels@...labora.com,
gustavo.padovan@...labora.com, emma@...olt.net,
robdclark@...il.com, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org,
virtualization@...ts.linux-foundation.org,
linux-arm-msm@...r.kernel.org
Subject: [PATCH v7 05/10] drm: ci: Use scripts/config to enable/disable configs
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@...labora.com>
Suggested-by: Jani Nikula <jani.nikula@...el.com>
Signed-off-by: Vignesh Raman <vignesh.raman@...labora.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
v7:
- 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/
--
2.40.1
Powered by blists - more mailing lists