Skip to content

Commit

Permalink
support RISCV32 and IA32
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h authored and lsf37 committed Jan 9, 2024
1 parent 8428265 commit c92fde6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion standalone-kernel/compile_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ case "${INPUT_ARCH}" in
gcc_cfg="AARCH64"
llvm_triple="aarch64-linux-gnu"
;;
RISCV32)
gcc_cfg="RISCV32"
# the 64-bit toolchain can build for 32-bit also.
llvm_triple="riscv64-unknown-elf"
;;
RISCV64)
gcc_cfg="RISCV64"
llvm_triple="riscv64-unknown-elf"
;;
X64)
IA32|X64)
# just use the standard host compiler
;;
*)
Expand Down

0 comments on commit c92fde6

Please sign in to comment.