From 1da5466bab46b20a4ebbc28cfdbba9135775ae6d Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sat, 6 Jul 2024 13:06:42 +0200 Subject: [PATCH] configs/visionfive2: fix build by adding kernel header version commit d9e6d2d081 "configs/visionfive2: update kernel to upstream 6.8.2" removed the config directive: BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y but forgot to add: BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y It was most likely generated with a "make savedefconfig", while Linux kernel v6.8 was the default at that time. After commit aa70c331a2 "linux: bump latest version to 6.9", the defconfig failed to build with error: Incorrect selection of kernel headers: expected 6.9.x, got 6.8.x This commit fixes the defconfig by adding back the kernel custom header version. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/7271150175 Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- configs/visionfive2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/visionfive2_defconfig b/configs/visionfive2_defconfig index dae9608eeb..18e0997f19 100644 --- a/configs/visionfive2_defconfig +++ b/configs/visionfive2_defconfig @@ -1,4 +1,5 @@ BR2_riscv=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y BR2_GLOBAL_PATCH_DIR="board/visionfive2/patches" BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_SYSTEM_DHCP="eth0"