From: Rong Tao <rongtao@xxxxxxxx> 'make' create 'include' directory, we should remove it when 'make clean'. Signed-off-by: Rong Tao <rongtao@xxxxxxxx> --- tools/counter/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/counter/Makefile b/tools/counter/Makefile index 8843f0fa6119..e2475a1f10d8 100644 --- a/tools/counter/Makefile +++ b/tools/counter/Makefile @@ -39,7 +39,7 @@ $(OUTPUT)counter_example: $(COUNTER_EXAMPLE) clean: rm -f $(ALL_PROGRAMS) - rm -rf $(OUTPUT)include/linux/counter.h + rm -rf $(OUTPUT)include find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete install: $(ALL_PROGRAMS) -- 2.40.0