Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
This commit is contained in:
commit
d1b8b19cd3
2
Makefile
2
Makefile
|
@ -40,6 +40,8 @@ TOOLPREFIX := $(shell if riscv64-unknown-elf-objdump -i 2>&1 | grep 'elf64-big'
|
||||||
then echo 'riscv64-unknown-elf-'; \
|
then echo 'riscv64-unknown-elf-'; \
|
||||||
elif riscv64-linux-gnu-objdump -i 2>&1 | grep 'elf64-big' >/dev/null 2>&1; \
|
elif riscv64-linux-gnu-objdump -i 2>&1 | grep 'elf64-big' >/dev/null 2>&1; \
|
||||||
then echo 'riscv64-linux-gnu-'; \
|
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; \
|
else echo "***" 1>&2; \
|
||||||
echo "*** Error: Couldn't find a riscv64 version of GCC/binutils." 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; \
|
echo "*** To turn off this error, run 'gmake TOOLPREFIX= ...'." 1>&2; \
|
||||||
|
|
Loading…
Reference in a new issue