configs/orangepi_one_plus: fix kernel headers option
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 13 Feb 2019 21:10:53 +0000 (22:10 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 14 Feb 2019 20:48:04 +0000 (21:48 +0100)
Contrary to what the comment in the defconfig says, the
orangepi_one_plus_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/158295166

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
configs/orangepi_one_plus_defconfig

index d950f16610be062c50fc22e1dbe3ded5bdce8dfa..30c422efc2b4d3f15097206c40263294ba931829 100644 (file)
@@ -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