BaseTools: Add LoongArch64 binding.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch64 ProcessorBin.h and add LoongArch to Makefiles. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn> Co-authored-by: Baoqi Zhang <zhangbaoqi@loongson.cn> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
@@ -29,6 +29,9 @@ ifndef HOST_ARCH
|
||||
ifneq (,$(findstring riscv64,$(uname_m)))
|
||||
HOST_ARCH=RISCV64
|
||||
endif
|
||||
ifneq (,$(findstring loongarch64,$(uname_m)))
|
||||
HOST_ARCH=LOONGARCH64
|
||||
endif
|
||||
ifndef HOST_ARCH
|
||||
$(info Could not detected HOST_ARCH from uname results)
|
||||
$(error HOST_ARCH is not defined!)
|
||||
|
Reference in New Issue
Block a user