nuttx-apps/audioutils
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
..
fmsynth audioutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
lame apps: fix distclean for partial builds and residual .kconfig files 2026-07-09 09:25:33 +08:00
libmad audioutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
mml_parser style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
nxaudio audioutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
rtttl-c audioutils: Add RTTTL parsing library 2026-05-26 09:55:31 -03:00
.gitignore audioutils/mml_parser: Add mml_parser library 2022-05-07 13:56:53 +08:00
CMakeLists.txt audioutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs audioutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile audioutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00