Add a new option -C|--clang to buildgcc to build a clang based toolchain as opposed to a gcc based toolchain. This toolchain comes with the required patches needed to successfully build coreboot, and also with clang's famous scan-build script.
Change-Id: I1aea7cd6002edc4f3bb2b46dc1f69a212ad18f77
14ce213 crossgcc: Add clang support
util/crossgcc/buildgcc | 73 +++++++++++++++---
util/crossgcc/patches/cfe-3.6.1.src_frontend.patch | 79 ++++++++++++++++++++
util/crossgcc/sum/cfe-3.6.1.src.tar.xz.cksum | 1 +
.../sum/clang-tools-extra-3.6.1.src.tar.xz.cksum | 1 +
.../sum/compiler-rt-3.6.1.src.tar.xz.cksum | 1 +
util/crossgcc/sum/llvm-3.6.1.src.tar.xz.cksum | 1 +
6 files changed, 147 insertions(+), 9 deletions(-)
Upstream: review.coreboot.org