- Updated build-libraries.sh to set up environment variables for the arm-uclinuxfdpiceabi toolchain, including compiler flags and paths. - Removed the dependency on env.sh for initial environment setup, simplifying the script logic. - Streamlined the export and unset of environment variables to ensure a clean build environment. - Adjusted the handling of CFLAGS and related variables for better clarity and consistency in the build process.
11 lines
247 B
Bash
Executable File
11 lines
247 B
Bash
Executable File
|
|
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}
|
|
|