Skip to content

Commit 228354e

Browse files
RtoaxWilliam Breathitt Gray
authored andcommitted
tools/counter: Makefile: Remove lingering 'include' directories on make clean
`make` creates 'include' directories where necessary, so remove them as appropriate on `make clean`. Signed-off-by: Rong Tao <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: William Breathitt Gray <[email protected]>
1 parent 6a9a092 commit 228354e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/counter/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ $(OUTPUT)counter_example: $(COUNTER_EXAMPLE)
4040
clean:
4141
rm -f $(ALL_PROGRAMS)
4242
rm -rf $(OUTPUT)include/linux/counter.h
43+
rmdir -p $(OUTPUT)include/linux
4344
find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
4445

4546
install: $(ALL_PROGRAMS)

0 commit comments

Comments
 (0)