PATCH] libtracefs: Remove dependency files on make clean

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Steven Rostedt <rostedt@xxxxxxxxxxx>

Make clean left behind the dependency files .*.d on make clean, which can
cause havoc when trying to build after doing a checkout to another branch.

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile b/src/Makefile
index 985744ba1118..e8afab50bafb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -58,7 +58,7 @@ $(OBJS): | $(bdir)
 $(DEPS): | $(bdir)
 
 clean:
-	$(Q)$(call do_clean,$(OBJS))
+	$(Q)$(call do_clean,$(OBJS) .*.d)
 
 dep_includes := $(wildcard $(DEPS))
 
-- 
2.33.0




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux