Refactor toolchain packaging process by introducing package-toolchain.sh

- Replaced the packaging logic in build-toolchain.sh with a call to the new package-toolchain.sh script for better organization and maintainability.
- Added package-toolchain.sh to handle the stripping and archiving of the toolchain, including necessary checks for the installation directory and environment script.
- Updated README.md to document the addition of package-toolchain.sh for clarity on the build process.
This commit is contained in:
2026-04-06 15:09:07 +03:00
parent 082098c9ec
commit 8267e2e4da
3 changed files with 39 additions and 15 deletions

View File

@@ -21,7 +21,7 @@
| OpenSSL | 3.0.13 | Криптография |
| LibVNCServer | 0.9.14 | VNC-сервер |
| FreeType | 2.13.2 | Рендеринг шрифтов |
| libnl | 3.7.0 | Netlink для Linux |
| libnl | 3.2.0 | Netlink для Linux |
Все библиотеки собираются статически.
@@ -114,6 +114,7 @@ source ./env.sh
build-toolchain/
├── build-toolchain.sh # Основной скрипт сборки
├── build-libraries.sh # Сборка дополнительных библиотек
├── package-toolchain.sh # Упаковка готового тулчейна
├── download_prerequisites.sh # Загрузка исходников
├── scripts/
│ └── env.sh # Настройка окружения (копируется в архив)