]> Git Repo - buildroot-mgba.git/commitdiff
configs/visionfive2: fix build by adding kernel header version
authorJulien Olivain <[email protected]>
Sat, 6 Jul 2024 11:06:42 +0000 (13:06 +0200)
committerThomas Petazzoni <[email protected]>
Mon, 8 Jul 2024 20:24:09 +0000 (22:24 +0200)
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 <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
configs/visionfive2_defconfig

index dae9608eeb147ea25afa535c5e6545b9158358d1..18e0997f19d0a6c0c4e58cb09afb5915c4321147 100644 (file)
@@ -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"
This page took 0.030086 seconds and 4 git commands to generate.