mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
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@collabora.com> Suggested-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com> Signed-off-by: Helen Koike <helen.koike@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231207091831.660054-6-vignesh.raman@collabora.com
This commit is contained in:
parent
7879c158a1
commit
34ec92879b
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user