Commit 228354ed authored by Rong Tao's avatar Rong Tao Committed by William Breathitt Gray
Browse files

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: default avatarRong Tao <rongtao@cestc.cn>
Link: https://lore.kernel.org/r/tencent_F85E314661100B0CE2845EB27E2E2F558C09@qq.com/


Signed-off-by: default avatarWilliam Breathitt Gray <william.gray@linaro.org>
parent 6a9a092e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)