projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9a092
)
tools/counter: Makefile: Remove lingering 'include' directories on make clean
author
Rong Tao
<rongtao@cestc.cn>
Sat, 22 Apr 2023 14:27:38 +0000
(22:27 +0800)
committer
William Breathitt Gray
<william.gray@linaro.org>
Tue, 9 May 2023 23:17:17 +0000
(19:17 -0400)
`make` creates 'include' directories where necessary, so remove them as
appropriate on `make clean`.
Signed-off-by: Rong Tao <rongtao@cestc.cn>
Link:
https://lore.kernel.org/r/tencent_F85E314661100B0CE2845EB27E2E2F558C09@qq.com/
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
tools/counter/Makefile
patch
|
blob
|
history
diff --git
a/tools/counter/Makefile
b/tools/counter/Makefile
index 8843f0fa61199e94e65fa034627426db9d5ed139..a0f4cab71fe5ff2341e581d6d942225ce2d240f2 100644
(file)
--- 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)