aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.inc
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 /Makefile.inc
parent53c388fe6dfb4fc4ffcee6c58345d353c6ec33bf (diff)
downloadcoreboot-f0bbc95f12c99ac956c9d8a85bac38db4ad6bcb4.tar.gz
coreboot-f0bbc95f12c99ac956c9d8a85bac38db4ad6bcb4.tar.xz
coreboot-f0bbc95f12c99ac956c9d8a85bac38db4ad6bcb4.zip
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 'Makefile.inc')
-rw-r--r--Makefile.inc14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 89a05534d..656d98866 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -424,9 +424,9 @@ gitconfig:
git config remote.origin.push HEAD:refs/for/master
(git config --global user.name >/dev/null && git config --global user.email >/dev/null) || (printf 'Please configure your name and email in git:\n\n git config --global user.name "Your Name Comes Here"\n git config --global user.email your.email@example.com\n'; exit 1)
-crossgcc: crossgcc-i386 crossgcc-arm crossgcc-aarch64 crossgcc-mips
+crossgcc: crossgcc-i386 crossgcc-arm crossgcc-aarch64 crossgcc-mips crossgcc-riscv
-.PHONY: crossgcc-i386 crossgcc-arm crossgcc-aarch64 crossgcc-mips
+.PHONY: crossgcc-i386 crossgcc-arm crossgcc-aarch64 crossgcc-mips crossgcc-riscv
crossgcc-i386: clean-for-update
$(MAKE) -C util/crossgcc build-i386-without-gdb
@@ -439,9 +439,12 @@ crossgcc-aarch64: clean-for-update
crossgcc-mips: clean-for-update
$(MAKE) -C util/crossgcc build-mips-without-gdb
-crosstools: crosstools-i386 crosstools-arm crosstools-aarch64 crosstools-mips
+crossgcc-riscv: clean-for-update
+ $(MAKE) -C util/crossgcc build-riscv-without-gdb
-.PHONY: crosstools-i386 crosstools-arm crosstools-aarch64 crosstools-mips
+crosstools: crosstools-i386 crosstools-arm crosstools-aarch64 crosstools-mips crosstools-riscv
+
+.PHONY: crosstools-i386 crosstools-arm crosstools-aarch64 crosstools-mips crosstools-riscv
crosstools-i386: clean-for-update
$(MAKE) -C util/crossgcc build-i386
@@ -454,6 +457,9 @@ crosstools-aarch64: clean-for-update
crosstools-mips: clean-for-update
$(MAKE) -C util/crossgcc build-mips
+crosstools-riscv: clean-for-update
+ $(MAKE) -C util/crossgcc build-riscv
+
crossgcc-clean: clean-for-update
$(MAKE) -C util/crossgcc clean