diff options
author | 2022-04-08 10:46:07 +0200 | |
---|---|---|
committer | 2022-05-08 03:16:59 +0900 | |
commit | c77d06e70d59cbc6e3c22bf644bb0b197a5fc182 (patch) | |
tree | d6d32c03811d2f6375ff112491e0c6a1f2812534 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kbuild: read *.mod to get objects passed to $(LD) or $(AR) (diff) | |
download | linux-dev-c77d06e70d59cbc6e3c22bf644bb0b197a5fc182.tar.xz linux-dev-c77d06e70d59cbc6e3c22bf644bb0b197a5fc182.zip |
kbuild: support W=e to make build abort in case of warning
When developing new code/feature, CONFIG_WERROR is most
often turned off, especially for people using make W=12 to
get more warnings.
In such case, turning on -Werror temporarily would require
switching on CONFIG_WERROR in the configuration, building,
then switching off CONFIG_WERROR.
For this use case, this patch introduces a new 'e' modifier
to W= as a short hand for KCFLAGS+=-Werror" so that -Werror
got added to the kernel (built-in) and modules' CFLAGS.
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions