[PATCH] tools: pci: rm .*.cmd when make clean

zhangjiao2 posted 1 patch 1 year, 3 months ago
tools/pci/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tools: pci: rm .*.cmd when make clean
Posted by zhangjiao2 1 year, 3 months ago
From: zhang jiao <zhangjiao2@cmss.chinamobile.com>

rm .*.cmd when make clean

Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
---
 tools/pci/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/pci/Makefile b/tools/pci/Makefile
index 57744778b518..f884471e07fe 100644
--- a/tools/pci/Makefile
+++ b/tools/pci/Makefile
@@ -42,7 +42,7 @@ $(OUTPUT)pcitest: $(PCITEST_IN)
 clean:
 	rm -f $(ALL_PROGRAMS)
 	rm -rf $(OUTPUT)include/
-	find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete
+	find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete -o -name '\.*.cmd' -delete
 
 install: $(ALL_PROGRAMS)
 	install -d -m 755 $(DESTDIR)$(bindir);		\
-- 
2.33.0
Re: [PATCH] tools: pci: rm .*.cmd when make clean
Posted by Krzysztof Wilczyński 1 year, 3 months ago
Hello,

> rm .*.cmd when make clean

Applied to misc, thank you!

[1/1] tools: PCI: Remove .*.cmd files with make clean
      https://git.kernel.org/pci/pci/c/f5383c543de0

	Krzysztof