]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: uapi: use -fsyntax-only rather than -S
authorNick Desaulniers <ndesaulniers@google.com>
Wed, 30 Mar 2022 18:34:06 +0000 (11:34 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 5 Apr 2022 08:03:31 +0000 (17:03 +0900)
commitd40fe7e0c582d74a1d25a5b74b0542092d02de76
tree86041694df694f09fdf657c337d5c8df7c7740a2
parent6d94017b7b59bab528be97be158d0d602982e3a6
kbuild: uapi: use -fsyntax-only rather than -S

The UAPI header tests are checking that the generated headers do not
have syntax errors. There's no need to run the rest of the compilation
pipeline after semantic analysis has run. Replace -S -o /dev/null with
-fsyntax-only.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
usr/include/Makefile