Files
wolfssl/IDE/Android
Tobias Frauenschläger 29506d2cac build: distribute IDE project trees per-directory to fix "make dist"
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.
2026-07-20 17:22:10 +02:00
..
2022-01-31 15:29:25 -05:00

Android wolfSSL Support

Tested on Android v8.1 with WPA Supplicant and KeyStore to replace BoringSSL.

Files

  • Android.bp: Template build system file for wolfSSL.
  • user_settings.h: Template build settings for wolfSSL

Installation

  1. Place the wolfSSL library into ./external/wolfssl
  2. Copy Android.bp into ./external/wolfssl
  3. Copy user_settings.h into ./external/wolfssl
  4. Add PRODUCT_PACKAGES += libwolfssl to your device .mk.

Typical Android build instruction

source build/envsetup.sh
lunch [num]
mm -j8

Using wolfSSL in your Application

In your Android.mk build file for your application add the following:

# Crypto Provider - wolfSSL
LOCAL_CFLAGS += -DWOLFSSL_USER_SETTINGS -Iexternal/wolfssl -Iexternal/wolfssl/wolfssl
LOCAL_SHARED_LIBRARIES += libwolfssl

Support

For questions please email support@wolfssl.com