Go to file
Thomas Petazzoni c3c4b3dfa8 support/scripts/check-kernel-headers.sh: do not print error for loose checks
The C program inside check-kernel-headers.sh has two checking mode: a
strict and a loose one.

In strict mode, we want the kernel headers version declared by the
user to match exactly the one of the toolchain.

In loose mode, we want the kernel headers version of the toolchain to
be greater than or equal to the one declared by the user: this is used
when we have a toolchain that has newer headers than the latest
version known by Buildroot.

However, in loose mode, we continue to show the "Incorrect kernel
headers version" message, even though we then return a zero error
code. This is very confusing: you see an error displayed on the
terminal, but the build goes on.

We fix that by first doing the loose check first, and returning 0 if
it succeeds. And then we move on with the strict check where we want
the version to be identical.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-03-21 15:47:03 +01:00
arch
board board/stmicroelectronics/stm32f4xx: move post-build script into common directory 2020-03-21 15:27:17 +01:00
boot boot/barebox: bump version to 2020.03.0 2020-03-21 15:25:00 +01:00
configs board/stmicroelectronics/stm32f4xx: move post-build script into common directory 2020-03-21 15:27:17 +01:00
docs docs/website: update for 2019.02.10 2020-03-16 22:48:18 +01:00
fs fs/erofs: add support for creating EROFS rootfs image 2020-03-19 18:43:15 +01:00
linux
package package/kodi-*: mass update of license files 2020-03-21 15:43:13 +01:00
support support/scripts/check-kernel-headers.sh: do not print error for loose checks 2020-03-21 15:47:03 +01:00
system
toolchain toolchain/toolchain-external: fix call to check_kernel_headers_version 2020-03-21 15:39:24 +01:00
utils utils/scancpan: use two spaces indentation in hash file 2020-03-15 23:17:46 +01:00
.defconfig
.flake8
.gitignore
.gitlab-ci.yml configs/stm32mp157a_dk1: new defconfig 2020-03-21 15:27:17 +01:00
.gitlab-ci.yml.in
CHANGES Update for 2019.02.10 2020-03-16 22:46:36 +01:00
Config.in
Config.in.legacy
COPYING
DEVELOPERS configs/stm32mp157a_dk1: new defconfig 2020-03-21 15:27:17 +01:00
Makefile Makefile: assemble package file lists before calling post-build scripts 2020-03-20 22:17:28 +01:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches