[PATCH] tools: gpio: rm include dir when make clean

zhangjiao2 posted 1 patch 1 month ago
tools/gpio/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tools: gpio: rm include dir when make clean
Posted by zhangjiao2 1 month ago
From: zhang jiao <zhangjiao2@cmss.chinamobile.com>

rm include dir when make clean

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

diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile
index ed565eb52275..342e056c8c66 100644
--- a/tools/gpio/Makefile
+++ b/tools/gpio/Makefile
@@ -77,7 +77,7 @@ $(OUTPUT)gpio-watch: $(GPIO_WATCH_IN)
 
 clean:
 	rm -f $(ALL_PROGRAMS)
-	rm -f $(OUTPUT)include/linux/gpio.h
+	rm -rf $(OUTPUT)include
 	find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete -o -name '\.*.cmd' -delete
 
 install: $(ALL_PROGRAMS)
-- 
2.33.0
Re: [PATCH] tools: gpio: rm include dir when make clean
Posted by Bartosz Golaszewski 4 weeks ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Wed, 03 Sep 2025 14:36:20 +0800, zhangjiao2 wrote:
> rm include dir when make clean
> 
> 

Applied, thanks!

[1/1] tools: gpio: rm include dir when make clean
      https://git.kernel.org/brgl/linux/c/ed42d80f3bae89592fbb2ffaf8b6b2e720d53f6a

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>