Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] configs/freescale_{p1025twr, t1040d4rdb}: headers version
@ 2018-04-12 21:26 Vincent Stehle
  2018-04-12 21:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Stehle @ 2018-04-12 21:26 UTC (permalink / raw)
  To: buildroot

From: Vincent Stehl? <vincent.stehle@laposte.net>

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>
---
 configs/freescale_p1025twr_defconfig   | 3 +++
 configs/freescale_t1040d4rdb_defconfig | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/configs/freescale_p1025twr_defconfig b/configs/freescale_p1025twr_defconfig
index 13ec517fbd..f476d92706 100644
--- a/configs/freescale_p1025twr_defconfig
+++ b/configs/freescale_p1025twr_defconfig
@@ -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"
 
diff --git a/configs/freescale_t1040d4rdb_defconfig b/configs/freescale_t1040d4rdb_defconfig
index 6b09e69646..b8d162736c 100644
--- a/configs/freescale_t1040d4rdb_defconfig
+++ b/configs/freescale_t1040d4rdb_defconfig
@@ -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"
 
-- 
2.16.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] configs/freescale_{p1025twr, t1040d4rdb}: headers version
  2018-04-12 21:26 [Buildroot] [PATCH] configs/freescale_{p1025twr, t1040d4rdb}: headers version Vincent Stehle
@ 2018-04-12 21:30 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-04-12 21:30 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 12 Apr 2018 23:26:06 +0200, Vincent Stehle wrote:
> From: Vincent Stehl? <vincent.stehle@laposte.net>
> 
> 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>
> ---
>  configs/freescale_p1025twr_defconfig   | 3 +++
>  configs/freescale_t1040d4rdb_defconfig | 3 +++
>  2 files changed, 6 insertions(+)

Applied to master, thanks.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-12 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-12 21:26 [Buildroot] [PATCH] configs/freescale_{p1025twr, t1040d4rdb}: headers version Vincent Stehle
2018-04-12 21:30 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox