Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ferreol Axel
xv6-riscv-tp
Commits
4cba5422
Commit
4cba5422
authored
Oct 21, 2021
by
Wilke Pierre
Browse files
Try to fix TOOLPREFIX bug
parent
11f48785
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
4cba5422
...
...
@@ -44,9 +44,9 @@ TOOLPREFIX := $(shell if riscv64-unknown-elf-objdump -i 2>&1 | grep 'elf64-big'
elif
riscv64-linux-gnu-objdump
-i
2>&1 |
grep
'elf64-big'
>
/dev/null 2>&1
;
\
then
echo
'riscv64-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
;
\
echo
"***"
1>&2
;
exit
1
;
fi
)
echo
"***
Warning
: Couldn't find an riscv64 version of GCC/binutils."
1>&2
;
\
echo
"***
If you try to build the kernel without using docker, that won't work!
"
1>&2
;
\
echo
"***"
1>&2
;
fi
)
endif
QEMU
=
qemu-system-riscv64
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment