Hello Anika,
Thanks for joining the wolfSSL Forums. If you do not require support for TLS protocol, you can greatly reduce the size with
--enable-cryptonly
This should also alleviate some of the component dependencies you were seeing.
Let us know if there are further questions.
Thanks,
Eric @ wolfSSL Support