diff mbox series

tools: gpio: rm .*.cmd when make clean

Message ID 20240829062942.11487-1-zhangjiao2@cmss.chinamobile.com
State New
Headers show
Series tools: gpio: rm .*.cmd when make clean | expand

Commit Message

zhangjiao2 Aug. 29, 2024, 6:29 a.m. UTC
From: zhangjiao <zhangjiao2@cmss.chinamobile.com>

rm .*.cmd when make clean

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

Comments

Bartosz Golaszewski Sept. 2, 2024, 10:04 a.m. UTC | #1
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Thu, 29 Aug 2024 14:29:42 +0800, zhangjiao2 wrote:
> rm .*.cmd when make clean
> 
> 

Applied, thanks!

[1/1] tools: gpio: rm .*.cmd when make clean
      commit: 4a6c1621338af5c7dbf6d32b9806d06ab7de926d

Best regards,
diff mbox series

Patch

diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile
index d29c9c49e251..ed565eb52275 100644
--- a/tools/gpio/Makefile
+++ b/tools/gpio/Makefile
@@ -78,7 +78,7 @@  $(OUTPUT)gpio-watch: $(GPIO_WATCH_IN)
 clean:
 	rm -f $(ALL_PROGRAMS)
 	rm -f $(OUTPUT)include/linux/gpio.h
-	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);		\