The freescale p1025twr and t1040d4rdb defconfigs use a 4.15 series kernel;
specify BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15 accordingly.
This fixes the following build error:
Incorrect selection of kernel headers: expected 4.16.x, got 4.15.x
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
BR2_powerpc=y
BR2_powerpc_8548=y
+# Linux headers same as kernel, a 4.15 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y
+
# Serial port config
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
BR2_powerpc64=y
BR2_powerpc_e5500=y
+# Linux headers same as kernel, a 4.15 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y
+
# Serial port config
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"