summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangjiao <zhangjiao2@cmss.chinamobile.com>2024-08-29 14:29:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-09 18:56:34 +0200
commit3c331f7fc5b6d091e13067e9b0f7960d848254ee (patch)
treee4a78fb2743d409d8c36b55e3d4108e64ac0a26c
parent7e4f8e09d577c3404eaea9aef1b8392dc64662ad (diff)
downloadlinux-3c331f7fc5b6d091e13067e9b0f7960d848254ee.tar.gz
linux-3c331f7fc5b6d091e13067e9b0f7960d848254ee.tar.bz2
linux-3c331f7fc5b6d091e13067e9b0f7960d848254ee.zip
tools: gpio: rm .*.cmd on make clean
[ Upstream commit 931a36c4138ac418d487bd4db0d03780b46a77ba ] 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> Stable-dep-of: ed42d80f3bae ("tools: gpio: remove the include directory on make clean") Signed-off-by: Sasha Levin <sashal@kernel.org>
-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); \