diff options
author | Nikita <sh1r4s3@mail.si-head.nl> | 2020-09-22 18:38:24 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-09-29 03:31:56 +0000 |
commit | ffa51b3bde2da8e2719e3be1ecce63d1f9913e36 (patch) | |
tree | 6c64c5fc5d9c884bfb3ce5693b582ae4714d89e7 /BaseTools/Source/C/GNUmakefile | |
parent | 71dd80f14f2724ccc99dd7d349b7392adf114019 (diff) | |
download | edk2-ffa51b3bde2da8e2719e3be1ecce63d1f9913e36.zip edk2-ffa51b3bde2da8e2719e3be1ecce63d1f9913e36.tar.gz edk2-ffa51b3bde2da8e2719e3be1ecce63d1f9913e36.tar.bz2 |
BaseTools: Add RISCV64 binding
- Add RISCV64 ProcessorBind.h
- Add RISCV64 to Makefiles
Signed-off-by: Nikita Ermakov <sh1r4s3@mail.si-head.nl>
Ack-by: Liming Gao <gaoliming@byosoft.com.cn>
Acked-by: Abner Chang <abner.chang@hpe.com>
Diffstat (limited to 'BaseTools/Source/C/GNUmakefile')
-rw-r--r-- | BaseTools/Source/C/GNUmakefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/Source/C/GNUmakefile index df4eb64..464f432 100644 --- a/BaseTools/Source/C/GNUmakefile +++ b/BaseTools/Source/C/GNUmakefile @@ -26,6 +26,9 @@ ifndef HOST_ARCH else ifneq (,$(findstring arm,$(uname_m)))
HOST_ARCH=ARM
endif
+ ifneq (,$(findstring riscv64,$(uname_m)))
+ HOST_ARCH=RISCV64
+ endif
ifndef HOST_ARCH
$(info Could not detected HOST_ARCH from uname results)
$(error HOST_ARCH is not defined!)
|