configs/bananapi_m2_ultra: add kernel headers version option
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 8 Dec 2018 14:50:14 +0000 (15:50 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Dec 2018 19:51:42 +0000 (20:51 +0100)
The bananapi_m2_plus defconfig uses a 4.18 kernel, but doesn't specify
anything for the kernel headers version, so the Buildroot default gets
used, which currently is 4.19. Since 4.19 is newer than 4.18,
Buildroot rightfully whines:

  Incorrect selection of kernel headers: expected 4.19.x, got 4.18.x

Let's fix this by telling this defconfig to use the headers from the
kernel, and that they are of version 4.18.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/131216938

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
configs/bananapi_m2_ultra_defconfig

index 5dd3edd664ac10e54cf5cfb0098f93dc8ae8dbfe..bc1d31a60ab394997a2b3dcd7c15370938f16694 100644 (file)
@@ -1,5 +1,6 @@
 BR2_arm=y
 BR2_cortex_a7=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y
 BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg"