u-boot/scripts
Paul Barker 9805321dfd 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>
2025-03-13 14:23:11 -06:00
..
basic fixdep: Support VPL 2024-07-29 08:42:18 -06:00
coccinelle
dtc scripts/dtc/pylibfdt/libfdt.i_shipped: Use SWIG_AppendOutput 2024-10-30 13:02:53 -06:00
kconfig tools/scripts/Kconfig: Update references from kconfig-language.txt to rst 2024-08-27 18:01:32 -06:00
.gitignore
bin2c.c
binutils-version.sh
build-cb.sh
build-efi.sh efI: Allow packaging a kernel in the debugging script 2023-03-25 11:07:22 +01:00
build_OID_registry
check-of.sh
checkpatch.pl scripts/checkpatch.pl: Upgrade IS_ENABLED_CONFIG to error for U-Boot 2025-03-05 12:14:49 -06:00
checkstack.pl
clang-version.sh
cleanpatch
coccicheck Use grep -E or plain grep instead of egrep 2023-01-11 15:02:24 -05:00
config scripts/config: pick config script from kernel scripts 2022-08-10 13:46:55 -04:00
const_structs.checkpatch
coreboot.sed
decodecode scripts/decodecode: update from Linux v6.10 2024-08-15 11:51:26 -06:00
documentation-file-ref-check
dtc-version.sh scripts: dtc-version: Don't show error messages 2024-03-02 12:25:20 -05:00
env2string.awk
event_dump.py event: Support a simple spy record 2023-08-31 13:16:54 -04:00
gcc-stack-usage.sh
gcc-version.sh
gen_compile_commands.py scripts: gen_compile_commands: fix invalid escape sequence warning 2024-05-13 16:51:14 -06:00
gen_ll_addressable_symbols.sh sandbox: Fix LTO to work with STACKPROTECTOR 2024-07-26 08:01:06 -06:00
get_default_envs.sh
get_maintainer.pl get_maintainer.pl: slightly modify penguin_chief 2024-01-18 20:24:13 -05:00
Kbuild.include global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
Kconfig.include tests: Build correct sandbox configuration on 32bit 2022-10-29 07:36:33 -06:00
kernel-doc
ld-version.sh
Lindent
mailmapper
make_pip.sh tools/make_pip: Add mention of u_boot_pylib in tool list 2023-12-13 18:39:06 -05:00
Makefile
Makefile.autoconf xpl: Define CONFIG_SPL_BUILD only for the SPL build 2024-10-11 11:44:48 -06:00
Makefile.build kbuild: cherry-pick kbuild fdtoverlay changes from linux 2024-09-20 08:31:57 +02:00
Makefile.clean
Makefile.dts Merge tag 'u-boot-imx-master-20241018a' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx 2024-10-18 09:05:04 -06:00
Makefile.extrawarn Kconfig: Introduce CONFIG_WERROR 2025-03-13 14:23:11 -06:00
Makefile.host kbuild: add KBUILD_HOSTLDFLAGS to cmd_host-csingle 2022-08-31 12:16:01 -04:00
Makefile.lib scripts/Makefile.lib: add -L option to LD command for EFI binaries 2025-01-17 20:31:25 +01:00
Makefile.xpl Makefile: Make sure all linker input objects exist 2025-01-18 08:28:16 -06:00
mkmakefile
objdiff
of_allowlist.txt
pylint.base scripts: Update pylint.base 2024-09-18 13:00:59 -06:00
setlocalversion scripts/setlocalversion: sync with linux v6.9 2024-05-21 16:09:36 -06:00
show-gnu-make
spdxcheck.py
spelling.txt scripts: add volatge to spelling.txt 2024-12-24 18:09:46 +01:00
style.py RFC: tools: Add a camel-case conversion script 2023-03-01 11:22:27 -07:00
u-boot.supp