Allows kbuild to generate LLVM bitcode files using '.ll' suffix.
# from c code
CC=clang make kernel/pid.ll
# from asm code
CC=clang make arch/x86/kernel/preempt.ll
Signed-off-by: Vinícius Tinti
Signed-off-by: Behan Webster
---
.gitignore | 1 +
Allows kbuild to generate LLVM bitcode files with the .ll extension.
# from c code
CC=clang make kernel/pid.ll
# from asm code
CC=clang make arch/x86/kernel/preempt.ll
Signed-off-by: Vinícius Tinti
Signed-off-by: Behan Webster
---
.gitignore | 1 +
Makefile
Allows kbuild to generate LLVM bitcode files with the .ll extension when
building with Clang.
# c code
CC=clang make kernel/pid.ll
# asm code
CC=clang make arch/arm/kernel/calls.ll
Signed-off-by: Vinícius Tinti
Signed-off-by: Behan Webster
---
Makefile | 7
3 matches
Mail list logo