[Buildroot] [git commit] freescale/imx6-sabresd: lock down kernel headers to the kernel version

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Oct 1 17:37:10 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=5a17274b077843fdbe9c1e75b5771f042b9f87f5
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The current defconfigs for iMX6 SABRESD kernel 3.10.17 from the Freescale
git repository. This kernel is older than the toolchain kernel headers
used in Buildroot (currently 3.16.3).

Explicitly lock down the kernel headers to match the version of the kernel
that is built.

Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
Tested-by: Vincent Stehlé <vincent.stehle at freescale.com>
Cc: Gilles Talis <gilles.talis at gmail.com>
Cc: Gary Bisson <bisson.gary at gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 configs/freescale_imx6dlsabresd_defconfig |    5 +++++
 configs/freescale_imx6qsabresd_defconfig  |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/configs/freescale_imx6dlsabresd_defconfig b/configs/freescale_imx6dlsabresd_defconfig
index b8c4b22..680031d 100644
--- a/configs/freescale_imx6dlsabresd_defconfig
+++ b/configs/freescale_imx6dlsabresd_defconfig
@@ -5,6 +5,11 @@ BR2_cortex_a9=y
 # patches
 BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
 
+# toolchain
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.10.17"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
+
 # system
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 
diff --git a/configs/freescale_imx6qsabresd_defconfig b/configs/freescale_imx6qsabresd_defconfig
index 40a9384..f2f702e 100644
--- a/configs/freescale_imx6qsabresd_defconfig
+++ b/configs/freescale_imx6qsabresd_defconfig
@@ -5,6 +5,11 @@ BR2_cortex_a9=y
 # patches
 BR2_GLOBAL_PATCH_DIR="board/freescale/imx6sabresd/patches"
 
+# toolchain
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.10.17"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
+
 # system
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 


More information about the buildroot mailing list