[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240902035412.4835-1-zhangjiao2@cmss.chinamobile.com>
Date: Mon, 2 Sep 2024 11:54:12 +0800
From: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
To: jic23@...nel.org
Cc: lars@...afoo.de,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
zhangjiao <zhangjiao2@...s.chinamobile.com>
Subject: Re: [PATCH] tools: iio: rm .*.cmd when make clean
From: zhangjiao <zhangjiao2@...s.chinamobile.com>
Hi
On Sat, 31 Aug 2024 11:59:31, Jonathan Cameron wrote:
>> On Thu, 29 Aug 2024 13:33:09 +0800
>> zhangjiao2 <zhangjiao2@...s.chinamobile.com> wrote:
>> From: zhangjiao <zhangjiao2@...s.chinamobile.com>
>>
>> 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@...s.chinamobile.com>
>> ---
>> 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
Powered by blists - more mailing lists