diff options
author | rtm <[email protected]> | 2019-11-07 06:43:38 -0500 |
---|---|---|
committer | rtm <[email protected]> | 2019-11-07 06:43:38 -0500 |
commit | 73e931fd420163cb3e7757a3426ca650b4cd3419 (patch) | |
tree | 805557d25982d1380648353f7f05775a94b24987 | |
parent | 16b3b63f06c1ea17da484aeebea4a57fb2a6e44a (diff) | |
download | xv6-labs-73e931fd420163cb3e7757a3426ca650b4cd3419.tar.gz xv6-labs-73e931fd420163cb3e7757a3426ca650b4cd3419.tar.bz2 xv6-labs-73e931fd420163cb3e7757a3426ca650b4cd3419.zip |
yet another toolchain name
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 an riscv64 version of GCC/binutils." 1>&2; \ echo "*** To turn off this error, run 'gmake TOOLPREFIX= ...'." 1>&2; \ |