]> 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)
commit2969ebefb488ad67cdcf10230719828cc8e24ee4
treedf4c2d7a9062c50a978016521db89a58df3ab612
parent224f6e6ec507b5b7287c582792594820e3a7bf1a
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]