Update build-toolchain.sh and README.md for toolchain environment script changes

- Modified build-toolchain.sh to copy env.sh from the scripts directory instead of the top-level directory, ensuring proper organization.
- Updated README.md to reflect the new version of uClibc-ng and clarify the structure of the output archive, including the location of env.sh within the archive.
This commit is contained in:
2026-03-31 18:09:01 +03:00
parent fa5c892cce
commit f7a908f096
3 changed files with 19 additions and 32 deletions

10
scripts/env.sh Executable file
View File

@@ -0,0 +1,10 @@
TOP=`pwd`
TARGET=arm-uclinuxfdpiceabi
CFLAGS_TOOLSET='-O2'
CFLAGS_TARGET='-Os -mthumb'
CFLAGS=$CFLAGS_TOOLSET CFLAGS_FOR_TARGET=$CFLAGS_TARGET CXXFLAGS_FOR_TARGET=$CFLAGS_TARGET
SUBARCH=armv7-m
SUBMODE=thumb
PATH=${TOP}/${TARGET}/bin:${PATH}