mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
![]() 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> |
||
---|---|---|
.. | ||
basic | ||
coccinelle | ||
dtc | ||
kconfig | ||
.gitignore | ||
bin2c.c | ||
binutils-version.sh | ||
build-cb.sh | ||
build-efi.sh | ||
build_OID_registry | ||
check-of.sh | ||
checkpatch.pl | ||
checkstack.pl | ||
clang-version.sh | ||
cleanpatch | ||
coccicheck | ||
config | ||
const_structs.checkpatch | ||
coreboot.sed | ||
decodecode | ||
documentation-file-ref-check | ||
dtc-version.sh | ||
env2string.awk | ||
event_dump.py | ||
gcc-stack-usage.sh | ||
gcc-version.sh | ||
gen_compile_commands.py | ||
gen_ll_addressable_symbols.sh | ||
get_default_envs.sh | ||
get_maintainer.pl | ||
Kbuild.include | ||
Kconfig.include | ||
kernel-doc | ||
ld-version.sh | ||
Lindent | ||
mailmapper | ||
make_pip.sh | ||
Makefile | ||
Makefile.autoconf | ||
Makefile.build | ||
Makefile.clean | ||
Makefile.dts | ||
Makefile.extrawarn | ||
Makefile.host | ||
Makefile.lib | ||
Makefile.xpl | ||
mkmakefile | ||
objdiff | ||
of_allowlist.txt | ||
pylint.base | ||
setlocalversion | ||
show-gnu-make | ||
spdxcheck.py | ||
spelling.txt | ||
style.py | ||
u-boot.supp |