Commit Graph

11 Commits

Author SHA1 Message Date
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