summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtm <[email protected]>2019-11-07 06:43:38 -0500
committerFrans Kaashoek <[email protected]>2020-08-10 11:19:10 -0400
commit897f6f34ddf2b45f7ef0e2474691f28cb6c9c0bd (patch)
tree143176bea1b1c55ec3ae1cce15a21840a240a90f
parent20f1dd940964d7e01cf8c8d9b1a5b751840b7f3b (diff)
downloadxv6-labs-897f6f34ddf2b45f7ef0e2474691f28cb6c9c0bd.tar.gz
xv6-labs-897f6f34ddf2b45f7ef0e2474691f28cb6c9c0bd.tar.bz2
xv6-labs-897f6f34ddf2b45f7ef0e2474691f28cb6c9c0bd.zip
yet another toolchain name
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 574911b..7bfee58 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,8 @@ TOOLPREFIX := $(shell if riscv64-unknown-elf-objdump -i 2>&1 | grep 'elf64-big'
then echo 'riscv64-unknown-elf-'; \
elif riscv64-linux-gnu-objdump -i 2>&1 | grep 'elf64-big' >/dev/null 2>&1; \
then echo 'riscv64-linux-gnu-'; \
+ elif riscv64-unknown-linux-gnu-objdump -i 2>&1 | grep 'elf64-big' >/dev/null 2>&1; \
+ then echo 'riscv64-unknown-linux-gnu-'; \
else echo "***" 1>&2; \
echo "*** Error: Couldn't find a riscv64 version of GCC/binutils." 1>&2; \
echo "*** To turn off this error, run 'gmake TOOLPREFIX= ...'." 1>&2; \