Message ID | tencent_F85E314661100B0CE2845EB27E2E2F558C09@qq.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | [v2] tools/counter: Makefile: Remove lingering 'include' when make clean | expand |
On Sat, Apr 22, 2023 at 10:27:38PM +0800, Rong Tao wrote: > 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> Hi Rong, The code changes in this v2 are acceptable for me now, but I would like the commit description typos fixed. I can fix it myself when I apply this patch so that you don't need to submit a v3. Would you be okay if I did that? William Breathitt Gray
Hi, William, Of course it's okay, thanks. Rong Tao
On Sat, Apr 22, 2023 at 10:27:38PM +0800, Rong Tao wrote: > 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> Queued (with minor commit description cleanup) for the counter-next branch of the Counter tree. Thank you, William Breathitt Gray
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)