From: zhangjiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx> Hi On Sat, 31 Aug 2024 11:59:31, Jonathan Cameron wrote: >> On Thu, 29 Aug 2024 13:33:09 +0800 >> zhangjiao2 <zhangjiao2@xxxxxxxxxxxxxxxxxxxx> wrote: >> From: zhangjiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx> >> >> rm .*.cmd when make clean > Where do those come from? Those come from tools/build/Build.include. These .*.cmd files ware created when make. So clean them when make clean. >> Signed-off-by: zhangjiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx> >> --- >> tools/iio/Makefile | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/tools/iio/Makefile b/tools/iio/Makefile >> index fa720f062229..3bcce0b7d10f 100644 >> --- a/tools/iio/Makefile >> +++ b/tools/iio/Makefile >> @@ -58,7 +58,7 @@ $(OUTPUT)iio_generic_buffer: $(IIO_GENERIC_BUFFER_IN) >> clean: >> rm -f $(ALL_PROGRAMS) >> rm -rf $(OUTPUT)include/linux/iio >> - find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete >> + find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete -o -name '\.*.cmd' -delete >> >> install: $(ALL_PROGRAMS) >> install -d -m 755 $(DESTDIR)$(bindir); \ -- Thanks zhang jiao