]> git.baikalelectronics.ru Git - kernel.git/commit
Makefile: move initial clang flag handling into scripts/Makefile.clang
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 2 Aug 2021 18:39:08 +0000 (11:39 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 10 Aug 2021 00:13:25 +0000 (09:13 +0900)
commit4a6af3866cea460aa45e8ebaa9234bba75bfc85b
treedf4c2d7a9062c50a978016521db89a58df3ab612
parent52b14595b7bc5bde87e43cff0e4fc3f73960e940
Makefile: move initial clang flag handling into scripts/Makefile.clang

With some of the changes we'd like to make to CROSS_COMPILE, the initial
block of clang flag handling which controls things like the target triple,
whether or not to use the integrated assembler and how to find GAS,
and erroring on unknown warnings is becoming unwieldy. Move it into its
own file under scripts/.

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
MAINTAINERS
Makefile
scripts/Makefile.clang [new file with mode: 0644]