summaryrefslogtreecommitdiff
path: root/util/crossgcc/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-03-07 10:57:25 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-03-08 13:56:08 +0100
commitf0bbc95f12c99ac956c9d8a85bac38db4ad6bcb4 (patch)
tree12ee9ef9acfb5307b068396d9a0de0db3aae4dff /util/crossgcc/Makefile
parent53c388fe6dfb4fc4ffcee6c58345d353c6ec33bf (diff)
downloadcoreboot-f0bbc95f12c99ac956c9d8a85bac38db4ad6bcb4.tar.xz
crossgcc: Add RISC-V support
Change-Id: If1e0f7ed21f67d7a185dad251ede81ddbc18c4e5 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/8629 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
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