Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Vincent Fazio <[email protected]> [[email protected]: - only do a loose check for the latest version - expand commit log ] Signed-off-by: Yann E. MORIN <[email protected]> Cc: Thomas Petazzoni <[email protected]> Tested-by: Vincent Fazio <[email protected]> Signed-off-by: Peter Korsgaard <[email protected]>
- Loading branch information