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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 24 Apr 2017 23:13:52 +0000 (08:13 +0900)
commit433db3e260bc8134d4a46ddf20b3668937e12556
tree2174c7cc5e16f1a275a8bfc456428099c94d2700
parent785f11aa595bc3d4e74096cbd598ada54ecc0d81
kbuild: Add support to generate LLVM assembly files

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>
.gitignore
Makefile
scripts/Makefile.build