configs/orangepi_lite2: fix kernel headers option
PATCH 1/1 configs/orangepi_lite2: fix kernel headers option
Contrary to what the comment in the defconfig says, the orangepi_lite2_defconfig was not using the "same as kernel" option for kernel headers, but really selecting explicitly Linux 4.18 headers, independently from the kernel version.
Except that in the mean time, BR2_KERNEL_HEADERS_4_18 has been removed, causing a build failure due to the legacy checking:
Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.". Stop.
This commit fixes that by using the proper BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18 option.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/158295163
--- configs/orangepi_lite2_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/orangepi_lite2_defconfig +1 -1
@@ -3,7 +3,7 @@ BR2_cortex_a53=y BR2_ARM_FPU_VFPV4=y # Linux headers same as kernel, a 4.18 series -BR2_KERNEL_HEADERS_4_18=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
Signature · 1 line
2.20.1
PATCH 1/1 configs/orangepi_lite2: fix kernel headers option
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Contrary to what the comment in the defconfig says, the
orangepi_lite2_defconfigwas not using the "same as kernel" option for kernel headers, but really selecting explicitly Linux 4.18 headers, independently from the kernel version.Except that in the mean time,
BR2_KERNEL_HEADERS_4_18has been removed, causing a build failure due to the legacy checking:Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.". Stop.
Quoted 8 lines
This commit fixes that by using the proper
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18option.Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/158295163
Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard