[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240903200923.21c4c1ff@jic23-huawei>
Date: Tue, 3 Sep 2024 20:09:23 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
Cc: lars@...afoo.de, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools: iio: rm .*.cmd when make clean
On Mon, 2 Sep 2024 11:54:12 +0800
zhangjiao2 <zhangjiao2@...s.chinamobile.com> wrote:
> 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.
Hmm. I'm still a little curious about the path to those getting created as
I don't see them. when testing.
Ah well, I don't feel strongly about it and I'm sure there is
something to make them appear
Applied.
Thanks,
Jonathan
> >> 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); \
Powered by blists - more mailing lists