diff options
author | Paul Barker <paul.barker.ct@bp.renesas.com> | 2025-02-28 10:04:33 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-03-13 14:23:11 -0600 |
commit | 9805321dfdeb5225fe5c5e0721abf49c0875637e (patch) | |
tree | 8e6c78b0825817f8d431312190911302a34f469c /test/py/tests/test_fs/test_basic.py | |
parent | babc6eef2f48970f394816c955a4a7481ce8df80 (diff) |
Kconfig: Introduce CONFIG_WERROR
Add a new config option under "General setup" to enable the -Werror flag
when building U-Boot. This is useful during development to help catch
mistakes.
This is based on a similar config option added to the Linux kernel by
Linus in 2021 - see Linux commit 3fe617ccafd6 ("Enable '-Werror' by
default for all kernel builds"). The modification of KBUILD_CFLAGS is
done in Makefile.extrawarn, matching where it was moved in the kernel by
Linux commit e88ca24319e4 ("kbuild: consolidate warning flags in
scripts/Makefile.extrawarn").
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Diffstat (limited to 'test/py/tests/test_fs/test_basic.py')
0 files changed, 0 insertions, 0 deletions