X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FGNUmakefile;h=8c191e0c38176cded43f7c5a6349ff95615c94a0;hp=37bcce519c7ec53533577190f52d29f1e805b9b4;hb=HEAD;hpb=28781fd52a966ad38e7cd65c5f7f81226f259ac2 diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/Source/C/GNUmakefile index 37bcce519c..5275f657ef 100644 --- a/BaseTools/Source/C/GNUmakefile +++ b/BaseTools/Source/C/GNUmakefile @@ -26,6 +26,12 @@ ifndef HOST_ARCH else ifneq (,$(findstring arm,$(uname_m))) HOST_ARCH=ARM endif + 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!) @@ -54,7 +60,6 @@ APPLICATIONS = \ GenSec \ GenCrc32 \ LzmaCompress \ - Split \ TianoCompress \ VolInfo \ DevicePath @@ -77,7 +82,7 @@ $(SUBDIRS): $(patsubst %,%-clean,$(sort $(SUBDIRS))): -$(MAKE) -C $(@:-clean=) clean -$(VFRAUTOGEN): VfrCompile/VfrSyntax.g +$(VFRAUTOGEN): VfrCompile/VfrSyntax.g $(MAKE) -C VfrCompile VfrLexer.h clean: $(patsubst %,%-clean,$(sort $(SUBDIRS)))