mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-10 08:41:23 +02:00
The non-recursive automake "distdir" recipe inlines the entire $(DISTFILES)
list into a single shell command. Enumerating every IDE integration file
individually made that list large enough (~123 KB) that the recipe exceeded
the Linux MAX_ARG_STRLEN (128 KB) single-argument exec limit, so "make dist"
failed with:
/bin/bash: Argument list too long
make[2]: *** [distdir-am] Error 127
Replace the per-file EXTRA_DIST enumeration of the IDE directories with one
wholesale "EXTRA_DIST += IDE/<dir>" entry per directory (automake copies the
tree recursively). This collapses ~745 file entries into ~52 directory
entries and shrinks the top-level DISTFILES from ~123 KB to ~97 KB, well
under the limit.
The set of distributed IDE files is unchanged: a before/after "make dist"
diff shows no project file added or removed (only the now-unused include.am
build fragments are gone). Three directories that intentionally omit some
tracked files (apple-universal, MPLABX16, Renesas - private IDE configs,
.gitkeep placeholders, helper scripts) stay enumerated file-by-file.
wolfSSL Example Project for Atollic TrueSTUDIO This directory contains an example wolfSSL static library project for Atollic TrueSTUDIO. The "wolfssl" TrueSTUDIO project has been set up to compile a generic static library for ARM Cortex-M4 devices. This can be configured and changed in the project properties window. Steps to compile this project: 1. Open Atollic TrueSTUDIO 2. Import project into workspace (File->Import) 3. Build project (Project->Build Project) This project defines WOLFSSL_USER_SETTINGS in the C/C++ Compiler toolchain preprocessor symbols. This causes wolfSSL to look for and include a "user_settings.h" file at build time. This header controls how the wolfSSL library is compiled. The existing "user_settings.h" file is very minimal and users should modify it to meet the requirements and specifics of their projects. For support, please email wolfSSL at support@wolfssl.com.