Skip to contentSkip to conversation

configs/freescale_{p1025twr, t1040d4rdb}: headers version

PATCH New Vincent Stehle 2 participants 2 messages Apr 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/freescale_{p1025twr, t1040d4rdb}: headers version

From: Vincent Stehl? <[email protected]>

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

---
 configs/freescale_p1025twr_defconfig   | 3 +++
 configs/freescale_t1040d4rdb_defconfig | 3 +++
 2 files changed, 6 insertions(+)
configs/freescale_p1025twr_defconfig +3 -0
index 13ec517fbd..f476d92706 100644
@@ -2,6 +2,9 @@
 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"
 
configs/freescale_t1040d4rdb_defconfig +3 -0
index 6b09e69646..b8d162736c 100644
@@ -2,6 +2,9 @@
 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"
 
Signature · 1 line
2.16.3
#1 lore raw

PATCH 1/1 configs/freescale_{p1025twr, t1040d4rdb}: headers version

Hello,

Quoted 7 lines · Vincent Stehle

From: Vincent Stehl? <[email protected]>

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:

Quoted 8 lines

Incorrect selection of kernel headers: expected 4.16.x, got 4.15.x

---
 configs/freescale_p1025twr_defconfig   | 3 +++
 configs/freescale_t1040d4rdb_defconfig | 3 +++
 2 files changed, 6 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com