aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cross_toolchain.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/cross_toolchain.rb b/bin/cross_toolchain.rb
index c419b76..cae2d7d 100755
--- a/bin/cross_toolchain.rb
+++ b/bin/cross_toolchain.rb
@@ -11,11 +11,12 @@ require 'open3'
require 'etc'
require 'fileutils'
require 'pathname'
+require 'term/ansicolor'
-BINUTILS_VERSION = '2.43.1'
-GLIBC_VERSION = '2.40'
-KERNEL_VERSION = '5.15.178'
-GCC_VERSION = "14.2.0"
+BINUTILS_VERSION = '2.44'
+GLIBC_VERSION = '2.41'
+KERNEL_VERSION = '5.15.185'
+GCC_VERSION = "15.1.0"
TMP = Pathname.new('./tmp')
@@ -85,6 +86,8 @@ def find_build_target(gcc_version, target)
end
def download_and_unarchive(url, target)
+ puts Term::ANSIColor.green "Downloading #{url}."
+
case File.extname url.path
when '.bz2'
archive_type = '-j'