summaryrefslogtreecommitdiffstats
path: root/tools/gpio
diff options
context:
space:
mode:
authorzhangjiao <zhangjiao2@cmss.chinamobile.com>2024-08-29 08:29:42 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-09-02 12:27:35 +0200
commit931a36c4138ac418d487bd4db0d03780b46a77ba (patch)
tree666b3574e951dbf07f826ac507ffc6e046b4b8a7 /tools/gpio
parentdt-bindings: gpio: simplify GPIO hog nodes schema (diff)
downloadlinux-931a36c4138ac418d487bd4db0d03780b46a77ba.tar.xz
linux-931a36c4138ac418d487bd4db0d03780b46a77ba.zip
tools: gpio: rm .*.cmd on make clean
rm .*.cmd when calling make clean Signed-off-by: zhangjiao <zhangjiao2@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20240829062942.11487-1-zhangjiao2@cmss.chinamobile.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/gpio')
-rw-r--r--tools/gpio/Makefile2
1 files changed, 1 insertions, 1 deletions
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); \