Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools: gpio: remove the include directory on make clean

Remove the generated include directory when running make clean.

Fixes: 8674cea84dc6 ("tools/gpio: move to tools buildsystem")
Signed-off-by: Zhang Jiao <zhangjiao2@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20250903063621.2424-1-zhangjiao2@cmss.chinamobile.com
[Bartosz: add Fixes tag, improve the commit message]
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

zhang jiao and committed by
Bartosz Golaszewski
ed42d80f ef9f21c3

+1 -1
+1 -1
tools/gpio/Makefile
··· 77 77 78 78 clean: 79 79 rm -f $(ALL_PROGRAMS) 80 - rm -f $(OUTPUT)include/linux/gpio.h 80 + rm -rf $(OUTPUT)include 81 81 find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete -o -name '\.*.cmd' -delete 82 82 83 83 install: $(ALL_PROGRAMS)