]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Add new CLANG8ELF tool chain for new LLVM/CLANG8
authorLiming Gao <gaoliming@byosoft.com.cn>
Wed, 2 Jun 2021 08:11:43 +0000 (16:11 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 4 Jun 2021 09:20:06 +0000 (09:20 +0000)
commit4b56ad2049b84a3c1a1efaa28213cf6134bd8d4d
tree8dbbed47a47f3b9e5c6f5d13cbebdb866909fffd
parentcf9959adffe8ecd3dd9bad1e5a1ce1c34cefc0e9
BaseTools: Add new CLANG8ELF tool chain for new LLVM/CLANG8

BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1603
LLVM/CLANG8 formal release http://releases.llvm.org/download.html#8.0.0
It can be downloaded and installed in Windows/Linux/Mac OS.
CLANG8ELF tool chain is added to generate ELF image, and convert to PE/COFF.
On Windows OS, set CLANG_HOST_BIN=n, set CLANG8_BIN=LLVM installed directory
For example:
  set CLANG_HOST_BIN=n # use windows nmake
  set CLANG8_BIN=C:\Program Files\LLVM\bin\
On Linux/Mac, set CLANG8_BIN=LLVM installed directory

This tool chain can be used to compile the firmware code. On windows OS,
Visual Studio is still required to compile BaseTools C tools and nmake.exe.
On Linux/Mac OS, gcc is used to compile BaseTools C tools. make is used
for makefile.

This tool chain is verified on OVMF Ia32, X64 and Ia32X64 to boot Shell.
This tool chain is verified in Windows/Linux and Mac OS.

Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Feng Bob C <bob.c.feng@intel.com>
BaseTools/Conf/tools_def.template