projects
/
kernel-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8dd9abb
)
The 4.19 series for riscv64 needs to be built with GCC 10.4 & binutils 2.37
author
Jason Self
<j@jxself.org>
Wed, 2 Nov 2022 15:13:30 +0000
(08:13 -0700)
committer
Jason Self
<j@jxself.org>
Wed, 2 Nov 2022 15:13:30 +0000
(08:13 -0700)
setup-toolchain.sh
patch
|
blob
|
history
diff --git
a/setup-toolchain.sh
b/setup-toolchain.sh
index 967c8f5d17f21c369e85523c3066457ff88bb094..8d00a65551d58cc4c4e793676f0502a370d11450 100755
(executable)
--- a/
setup-toolchain.sh
+++ b/
setup-toolchain.sh
@@
-275,6
+275,22
@@
do
build gcc
reset_path
;;
build gcc
reset_path
;;
+ riscv64-linux)
+ # The 4.19 series needs to be built with GCC 10.4 & binutils 2.37
+ export gcc_version="10.4.0"
+ export binutils_version="2.37"
+ export toolchain_directory="toolchain-$gcc_version-bintuils-$binutils_version"
+ reset_path
+ set_path
+ reset_path
+ set_path
+ setup_directories
+ download_source
+ setup_source
+ build binutils
+ build gcc
+ reset_path
+ ;;
s390x-linux)
# The 4.9, and 4.14 kernel series needs to be built with GCC 8.5
export gcc_version="8.5.0"
s390x-linux)
# The 4.9, and 4.14 kernel series needs to be built with GCC 8.5
export gcc_version="8.5.0"