[PATCH 0/5] kbuild: LLVMLinux: Initial updates to kbuild to enable the kernel to be compiled with clang/LLVM

From: behanw
Date: Tue Feb 25 2014 - 20:09:27 EST


From: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>

These patches add initial support for compiling the x86 kernel with clang. More
patches to the kernel code are required to actually compile the kernel with
clang. The intent of these patches are just to get things started with kbuild.

The LLVMLinux project aims to fully build the Linux kernel using both gcc and
clang (the C front end for the LLVM compiler infrastructure project).


Behan Webster (1):
kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang

Jan-Simon MÃller (3):
kbuild: LLVMLinux: Adapt warnings for compilation with clang
kbuild: LLVMLinux: Fix LINUX_COMPILER definition script for
compilation with clang
x86 kbuild: LLVMLinux: More cc-options added for clang

Mark Charlebois (1):
LLVMLinux: Add support for clang to compiler.h and new
compiler-clang.h

Makefile | 32 +++++++++++++++++++++++++++++++-
arch/x86/Makefile | 8 +++++++-
include/linux/compiler-clang.h | 12 ++++++++++++
include/linux/compiler.h | 7 +++++++
scripts/Makefile.build | 13 ++++++++++++-
scripts/mkcompile_h | 2 +-
6 files changed, 70 insertions(+), 4 deletions(-)
create mode 100644 include/linux/compiler-clang.h

--
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/