From: Jonathan Cameron <jic23@kernel.org>
To: zhangjiao2 <zhangjiao2@cmss.chinamobile.com>
Cc: lars@metafoo.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tools: iio: rm .*.cmd when make clean
Date: Tue, 3 Sep 2024 20:09:23 +0100 [thread overview]
Message-ID: <20240903200923.21c4c1ff@jic23-huawei> (raw)
In-Reply-To: <20240902035412.4835-1-zhangjiao2@cmss.chinamobile.com>
On Mon, 2 Sep 2024 11:54:12 +0800
zhangjiao2 <zhangjiao2@cmss.chinamobile.com> wrote:
> From: zhangjiao <zhangjiao2@cmss.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@cmss.chinamobile.com> wrote:
> >> From: zhangjiao <zhangjiao2@cmss.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@cmss.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); \
next prev parent reply other threads:[~2024-09-03 19:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 5:33 zhangjiao2
2024-08-31 10:59 ` Jonathan Cameron
2024-09-02 3:54 ` zhangjiao2
2024-09-03 19:09 ` Jonathan Cameron [this message]
2024-09-03 22:43 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240903200923.21c4c1ff@jic23-huawei \
--to=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zhangjiao2@cmss.chinamobile.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®