kumquat-buildroot/toolchain/toolchain-external
Vincent Fazio 338e62bd5d toolchain: allow using custom headers newer than latest known ones
When Buildroot is released, it knows up to a certain kernel header
version, and no later. However, it is possible that an external
toolchain will be used, that uses headers newer than the latest version
Buildroot knows about.

This may also happen when testing a development, an rc-class, or a newly
released kernel, either in an external toolchain, or with an internal
toolchain with custom headers (same-as-kernel, custom version, custom
git, custom tarball).

In the current state, Buildroot would refuse to use such toolchains,
because the test is for strict equality.

We'd like to make that situation possible, but we also want the user not
to be lenient at the same time, and select the right headers version
when it is known.

So, we add a new Kconfig blind option that the latest kernel headers
version selects. This options is then used to decide whether we do a
strict or loose check of the kernel headers.

Suggested-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
[yann.morin.1998@free.fr:
  - only do a loose check for the latest version
  - expand commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-08 20:25:10 +01:00
..
toolchain-external-andes-nds32 toolchain/toolchain-external/toolchain-external-andes-nds32: add missing dependencies/select 2019-05-31 00:06:52 +02:00
toolchain-external-arm-aarch64 toolchain/toolchain-external: update Arm AArch64 toolchain 9.2-2019.12 2020-01-04 16:30:26 +01:00
toolchain-external-arm-aarch64-be toolchain-external: update Arm AArch64 BE toolchain 9.2-2019.12 2020-01-08 09:31:48 +01:00
toolchain-external-arm-arm toolchain/toolchain-external: update Arm ARM toolchain 9.2-2019.12 2020-01-04 16:30:24 +01:00
toolchain-external-codescape-img-mips toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codescape-mti-mips toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codesourcery-aarch64 toolchain/external: hide versions too old for the current arch 2017-11-24 22:16:19 +01:00
toolchain-external-codesourcery-amd64 toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codesourcery-arm arch/arm: armv8 is really armv8a 2017-11-24 23:01:41 +01:00
toolchain-external-codesourcery-mips toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-codesourcery-niosII toolchain-external: bump CodeSourcery NIOSII to 2018.05 2018-05-30 22:51:29 +02:00
toolchain-external-custom toolchain: allow using custom headers newer than latest known ones 2020-02-08 20:25:10 +01:00
toolchain-external-linaro-aarch64 toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-linaro-aarch64-be toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-linaro-arm toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-linaro-armeb toolchain-external: enable OpenMP for supported toolchains 2019-03-26 20:18:06 +01:00
toolchain-external-synopsys-arc toolchain: bump ARC prebuild toolchain to arc-2019.09 2020-01-18 13:14:07 +01:00
Config.in core: allow br2-external trees to provide pre-configured toolchains 2019-08-04 00:13:37 +02:00
pkg-toolchain-external.mk toolchain: allow using custom headers newer than latest known ones 2020-02-08 20:25:10 +01:00
toolchain-external.mk Fix makefile include order by using sort/wildcard. 2017-11-24 00:08:23 +01:00