Skip to content

Commit 927f06d

Browse files
zhang jiaogregkh
authored andcommitted
tools: gpio: remove the include directory on make clean
[ Upstream commit ed42d80 ] Remove the generated include directory when running make clean. Fixes: 8674cea ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 17c1e41 commit 927f06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gpio/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ $(OUTPUT)gpio-watch: $(GPIO_WATCH_IN)
7777

7878
clean:
7979
rm -f $(ALL_PROGRAMS)
80-
rm -f $(OUTPUT)include/linux/gpio.h
80+
rm -rf $(OUTPUT)include
8181
find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete -o -name '\.*.cmd' -delete
8282

8383
install: $(ALL_PROGRAMS)

0 commit comments

Comments
 (0)