toolchain/external: check kernel headers version for custom toolchain
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 1 Mar 2014 14:53:01 +0000 (15:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Mar 2014 18:47:22 +0000 (19:47 +0100)
commita5a309642a056366ee437e2bae6da7dfda4fb667
treeba325b831269409ecafbc94e99cdc0b9914e8690
parent88d0bca0c103f1e8f2e0006948e0cf4860a35a21
toolchain/external: check kernel headers version for custom toolchain

Ensure the kernel headers version used in the custom external toolchain,
or the manually-specified kernel headers version, matches exactly the one
selected by the user.

We do not care about the patch-level, since headers are not supposed to
change between patchlevels. This applies only to kernels >= 3.0, but
those are actually the ones we do care about; we treat all 2.6.x kernels
as being a single version, since we do not support any 2.6 kernels for
packages with kernel-dependant features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/check-kernel-headers.sh [new file with mode: 0755]
toolchain/helpers.mk
toolchain/toolchain-common.in
toolchain/toolchain-external/toolchain-external.mk