]> 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)
commit7afd14be5ff6f907feb9df98467386ae0ca5d1b7
tree86041694df694f09fdf657c337d5c8df7c7740a2
parentdbb008736a8c113ef1e12b4e4b4351fac2a15ede
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