Extract package versions into a single versions.sh file

All hardcoded versions are now defined once in versions.sh and sourced
by build-toolchain.sh, download_prerequisites.sh, and build-libraries.sh,
eliminating the need to update multiple files when changing a version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 10:07:30 +03:00
parent a2034926f8
commit 3bdde2147b
4 changed files with 32 additions and 16 deletions

View File

@@ -12,10 +12,7 @@ PKG_UCLIBC="uClibc-ng"
# ==================================================================
# Версии пакетов
# ==================================================================
BINUTILS_VER="2.42"
GCC_VER="13.4.0"
LINUX_VER="4.9.224"
UCLIBC_VER="1.0.55"
source "$(dirname "$0")/versions.sh"
# ==================================================================
# Основные параметры тулчейна