From: Rong Tao <rtoax@foxmail.com>
To: william.gray@linaro.org
Cc: Rong Tao <rongtao@cestc.cn>,
linux-iio@vger.kernel.org (open list:COUNTER SUBSYSTEM),
linux-kernel@vger.kernel.org (open list)
Subject: [PATCH v2] tools/counter: Makefile: Remove lingering 'include' when make clean
Date: Sat, 22 Apr 2023 22:27:38 +0800 [thread overview]
Message-ID: <tencent_F85E314661100B0CE2845EB27E2E2F558C09@qq.com> (raw)
From: Rong Tao <rongtao@cestc.cn>
'make' create 'include' directory, we should remove it when 'make clean'.
Signed-off-by: Rong Tao <rongtao@cestc.cn>
---
v2: this commit, according to William Breathitt Gray's suggession in v1
v1: https://lore.kernel.org/lkml/tencent_FA682F628E818DD04B96C3E5A94ACFABE206@qq.com/
---
tools/counter/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/counter/Makefile b/tools/counter/Makefile
index 8843f0fa6119..a0f4cab71fe5 100644
--- a/tools/counter/Makefile
+++ b/tools/counter/Makefile
@@ -40,6 +40,7 @@ $(OUTPUT)counter_example: $(COUNTER_EXAMPLE)
clean:
rm -f $(ALL_PROGRAMS)
rm -rf $(OUTPUT)include/linux/counter.h
+ rmdir -p $(OUTPUT)include/linux
find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
install: $(ALL_PROGRAMS)
--
2.40.0
next reply other threads:[~2023-04-22 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-22 14:27 Rong Tao [this message]
2023-04-22 16:08 ` [PATCH v2] tools/counter: Makefile: Remove lingering 'include' when make clean William Breathitt Gray
2023-04-23 0:22 ` Rong Tao
2023-04-23 13:45 ` William Breathitt Gray
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=tencent_F85E314661100B0CE2845EB27E2E2F558C09@qq.com \
--to=rtoax@foxmail.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rongtao@cestc.cn \
--cc=william.gray@linaro.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.