]> git.itanic.dy.fi Git - linux-stable/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)
commit6f5b41a2f5a6314614e286274eb8e985248aac60
treedf4c2d7a9062c50a978016521db89a58df3ab612
parent6072b2c49d23eb69b6dca06ad095d3a9633b2b80
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]