Commit Graph

14 Commits

Author SHA1 Message Date
08e372eaf2 Refactor build-libraries.sh and env.sh for improved environment setup
- Updated build-libraries.sh to use --global and --path options for environment registration, enhancing clarity and consistency.
- Modified env.sh to support custom paths and improved error handling for the --path argument, streamlining toolchain path resolution.
- Removed redundant SYSROOT_DIR assignments to simplify the script logic.
2026-03-31 13:54:49 +03:00
fa0e0243e1 Refactor env.sh to enhance toolchain path handling and usage instructions
- Simplified toolchain path resolution logic to support custom paths and global mode.
- Improved error handling and user feedback for toolchain detection.
- Streamlined environment variable exports and clarified usage instructions for better user experience.
2026-03-31 13:54:39 +03:00
a1e8038cd9 Refactor env.sh to streamline environment variable exports
- Removed redundant export statements for environment variables in env.sh.
- Clarified default architecture and mode settings for improved readability.
- Enhanced output messages for better user feedback during environment activation.
2026-03-31 09:31:51 +03:00
0ef34c8a10 Enhance build-libraries.sh and env.sh for toolchain integration
- Updated build-libraries.sh to consistently use the --toolchain flag for environment registration and unregistration.
- Modified env.sh to clarify usage instructions and enforce the --toolchain option for environment setup, improving user experience and consistency in toolchain management.
2026-03-30 19:20:40 +03:00
f6111b0bb8 Enhance env.sh to improve toolchain registration logic
- Updated usage instructions to clarify default behavior and options.
- Improved path resolution for toolchain installation, checking for both ./bin and ./arm-uclinuxfdpiceabi directories.
- Added automatic registration when no arguments are provided, streamlining the user experience.
2026-03-30 10:01:14 +03:00
13b4127521 Revert: remove -fno-stack-protector from CFLAGS_TARGET
Was not the root cause of the __aeabi_read_tp linker error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 11:48:20 +03:00
39ea36dfc2 Disable stack protector for target CFLAGS
Stack protector on ARM reads the canary via TLS (__aeabi_read_tp), which
is unavailable since the toolchain is built with --disable-tls and uClibc
runs on uClinux without TLS support. This caused linker errors in d3des.c.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 11:42:38 +03:00
a0b70bd271 Make --register accept install root instead of bin directory
env.sh now appends /bin internally, so callers pass the install root
(e.g. build/install) consistently, both when using the default path
and when specifying it explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 10:10:52 +03:00
b1421bf4ae Refactor env.sh to improve registration and unregistration handling for toolchain environment 2026-02-16 16:07:15 +03:00
c581c66f74 Refactor build scripts to improve directory structure and enhance file handling 2026-02-16 14:46:24 +03:00
5bf6ec0abc Fixed a bug with exiting without passing arguments 2025-12-05 16:23:33 +03:00
54555cee39 Added build-libraries.sh 2025-12-05 14:06:28 +03:00
a46724cc90 Added the ability to create an environment for the compiler 2025-12-04 22:57:02 +03:00
bbb3c07a0f Added env.sh 2025-12-04 22:50:31 +03:00