efi-rpm-macros/0001-add-riscv64-support-for-efi-arch.patch

26 lines
600 B
Diff
Raw Permalink Normal View History

From 9befa934b3fc15217c9080a29b4dc607cdeef380 Mon Sep 17 00:00:00 2001
From: ouuleilei <wangliu@iscas.ac.cn>
Date: Wed, 29 May 2024 22:29:59 +0800
Subject: [PATCH] add riscv64 support for efi arch
---
macros.efi-srpm.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/macros.efi-srpm.in b/macros.efi-srpm.in
index 00503f1..7f258c7 100644
--- a/macros.efi-srpm.in
+++ b/macros.efi-srpm.in
@@ -37,6 +37,8 @@
return("aa64")
elseif arch("%{arm}") then
return("arm")
+ elseif arch("riscv64") then
+ return("riscv64")
else
return("none")
end
--
2.41.0