[PATCH kexec-tools] github: add RISC-V to workflow

Simon Horman horms at kernel.org
Fri Oct 21 08:31:43 PDT 2022


Add RISC-V builds to workflow

Signed-off-by: Simon Horman <horms at kernel.org>
---
 .github/workflows/build.yml | 3 +++
 1 file changed, 3 insertions(+)

 Hi Xianting Tian,

 Please consider including this a v3 patch-set
 to add RISC-V to kexec-tools.

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e554751e0017..2731282d9521 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,6 +19,8 @@ jobs:
         - powerpc
         - powerpc64
         - powerpc64le
+        - riscv32
+        - riscv64
         - sh4
         - s390x
         - x86_64-x32
@@ -42,6 +44,7 @@ jobs:
         case $ARCH in
           arm)         GNU_ARCH="arm-linux-gnueabi" ;;
           arm64)       GNU_ARCH="aarch64-linux-gnu" ;;
+          riscv32)     CROSS_COMPILER_PKG="gcc-riscv64-linux-gnu" ;;
           x86_64)      ;;
           x86_64-x32)  GNU_ARCH="x86_64-linux-gnux32"
                        CROSS_COMPILER_PKG="gcc-x86-64-linux-gnux32" ;;
-- 
2.30.2




More information about the kexec mailing list