OSDN Git Service

kbuild: Add support to generate LLVM assembly files
authorVinícius Tinti <viniciustinti@gmail.com>
Mon, 24 Apr 2017 20:04:58 +0000 (13:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 07:20:35 +0000 (08:20 +0100)
commit85ab13ffcc69fbe93c3a9d38857795cba79a4c35
treee1a16e276f9fdd0c891af4b178527b34308c1799
parentd438cec0737451e3615c4665592b6df0858de41a
kbuild: Add support to generate LLVM assembly files

commit 433db3e260bc8134d4a46ddf20b3668937e12556 upstream.

Add rules to kbuild in order to generate LLVM assembly files with the .ll
extension when using clang.

  # from c code
  make CC=clang kernel/pid.ll

Signed-off-by: Vinícius Tinti <viniciustinti@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
.gitignore
Makefile
scripts/Makefile.build