configs/orangepi_lite2: fix kernel headers option
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 8 Feb 2019 12:08:31 +0000 (13:08 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 8 Feb 2019 12:30:48 +0000 (13:30 +0100)
commit85f4bd9425b4ee74839202ab012d193a0175c5fa
tree65ef1de032765f59bd75a5d83ed6f2960903c166
parenta4a0cf21335ebdd38f99966a765ed2a600028da1
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

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