summaryrefslogtreecommitdiff
path: root/util/crossgcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/Makefile')
-rw-r--r--util/crossgcc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index 0785b65cca..4c3e19e43f 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -1,4 +1,4 @@
-all: build-i386 build-armv7a build-aarch64 build-mips
+all: build-i386 build-armv7a build-aarch64 build-mips build-riscv
build-i386:
bash ./buildgcc -G -p i386-elf
@@ -12,6 +12,9 @@ build-aarch64:
build-mips:
bash ./buildgcc -G -p mips-elf
+build-mips:
+ bash ./buildgcc -G -p riscv-elf
+
.PHONY: build-i386-without-gdb
build-i386-without-gdb:
bash ./buildgcc -p i386-elf
@@ -28,6 +31,10 @@ build-aarch64-without-gdb:
build-mips-without-gdb:
bash ./buildgcc -p mips-elf
+.PHONY: build-riscv-without-gdb
+build-riscv-without-gdb:
+ bash ./buildgcc -p riscv-elf
+
clean:
rm -rf xgcc