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 scripts: ensure the cocci script for miiphy_register does not leak the MDIO bus 2021-09-28 18:50:57 +03:00
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 x86: coreboot: Add a sample script to build a qemu image 2021-12-26 23:33:28 +01:00
build-efi.sh efI: Allow packaging a kernel in the debugging script 2023-03-25 11:07:22 +01:00
build_OID_registry lib: add oid registry utility 2019-12-06 16:44:20 -05:00
check-of.sh fdt: Makefile: Ensure that OF_BOARD is used when needed 2021-12-23 11:19:39 -05:00
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 kconfig / kbuild: Re-sync with Linux 4.20 2021-07-14 16:57:35 -04:00
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 scripts: add documentation-file-ref-check 2020-04-17 12:32:36 -04:00
dtc-version.sh scripts: dtc-version: Don't show error messages 2024-03-02 12:25:20 -05:00
env2string.awk env: Allow text-env tests to run with awk 2022-04-07 16:50:53 -04:00
event_dump.py event: Support a simple spy record 2023-08-31 13:16:54 -04:00
gcc-stack-usage.sh
gcc-version.sh kconfig / kbuild: Re-sync with Linux 4.20 2021-07-14 16:57:35 -04:00
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 scripts/get_default_envs.sh: Remove blank lines 2022-04-07 16:50:53 -04:00
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 doc: update Kernel documentation build system 2021-01-27 12:52:57 +01:00
ld-version.sh
Lindent
mailmapper scripts/mailmapper: enable running with Python 3 2021-09-28 18:50:55 +03:00
make_pip.sh tools/make_pip: Add mention of u_boot_pylib in tool list 2023-12-13 18:39:06 -05:00
Makefile scripts: Makefile: also clean subdir dtc 2022-02-03 12:15:36 -05:00
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 kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
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 kconfig / kbuild: Re-sync with Linux 4.20 2021-07-14 16:57:35 -04:00
objdiff
of_allowlist.txt fdt: Makefile: Ensure that OF_BOARD is used when needed 2021-12-23 11:19:39 -05:00
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 scripts/checkpatch.pl: Resync with v5.16 2022-02-03 12:16:00 -05:00
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 malloc: Annotate allocator for valgrind 2022-04-11 10:00:30 -04:00