添加riscv64的github workflow (#499)

* 添加riscv64的github workflow
This commit is contained in:
LoGin
2024-01-21 18:45:07 +08:00
committed by GitHub
parent 7a29d4fcbc
commit 43ef2a0d2b
7 changed files with 154 additions and 49 deletions

3
env.mk
View File

@ -12,6 +12,9 @@ endif
# 设置编译器
ifeq ($(ARCH), x86_64)
# 如果 x86_64时DragonOS_GCC 为空,那么设置为默认值
export DragonOS_GCC?=$(HOME)/opt/dragonos-gcc/gcc-x86_64-unknown-none/bin
export CC=$(DragonOS_GCC)/x86_64-elf-gcc
export LD=ld
export AS=$(DragonOS_GCC)/x86_64-elf-as