nuttx-apps/crypto
hanzhijian 81accb0832 apps: fix distclean for partial builds and residual .kconfig files
The current distclean implementation has two issues:

1. Application.mk does not remove .kconfig on distclean, so stale
   config fragments from earlier builds can pollute subsequent ones.

2. Several external-library Makefiles (lame, libshvc, libulut) run
   "make -C <subdir> distclean" without checking whether the
   subdirectory exists.  When the library was never downloaded (common
   in CI partial-build environments), distclean fails with "No such
   file or directory".

Fix:

- Application.mk: add $(call DELFILE, .kconfig) to the distclean
  target so that .kconfig is cleaned along with .built, .depend, etc.

- audioutils/lame/Makefile: guard the distclean recipe with
  "if [ -d $(DST_PATH) ]; then ...; fi" and use $(MAKE) instead
  of bare make.

- netutils/libshvc/Makefile, netutils/libulut/Makefile: same
  directory-existence guard for their distclean recipes.

- crypto/wolfssl/Makefile: change "distclean:" to "distclean::"
  (double-colon) so it does not override the distclean:: rule
  inherited from Application.mk.

Signed-off-by: hanzhijian <hanzhijian@zepp.com>
2026-07-09 09:25:33 +08:00
..
controlse sched/tcb: add a reference count to the TCB to prevent it from being deleted. 2026-01-22 11:06:12 -03:00
libsodium crypto/libsodium: Update libsodium to 1.0.20 2025-08-13 22:10:12 +08:00
libtomcrypt apps: add missing module metadata for executable tools 2026-06-22 22:27:07 +08:00
mbedtls crypto/mbedtls: expose include paths as public 2026-04-10 12:23:37 -03:00
openssl_mbedtls_wrapper crypto/openssl-wrapper: align SSL_CTX_new declaration with OpenSSL 2026-01-21 19:25:02 +08:00
tinycrypt apps: add missing module metadata for executable tools 2026-06-22 22:27:07 +08:00
tinydtls cmake: remove empty strings from FetchContent 2025-03-30 14:20:21 +08:00
wolfssl apps: fix distclean for partial builds and residual .kconfig files 2026-07-09 09:25:33 +08:00
.gitignore Add support for libtomcrypt 2021-07-12 17:49:26 -03:00
CMakeLists.txt crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs Add support for libtomcrypt 2021-07-12 17:49:26 -03:00
Makefile Add support for libtomcrypt 2021-07-12 17:49:26 -03:00