mirror of https://github.com/torvalds/linux.git
tools: gpio: remove the include directory on make clean
Remove the generated include directory when running make clean.
Fixes: 8674cea84d ("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>
This commit is contained in:
parent
ef9f21c3f3
commit
ed42d80f3b
|
|
@ -77,7 +77,7 @@ $(OUTPUT)gpio-watch: $(GPIO_WATCH_IN)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(ALL_PROGRAMS)
|
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
|
find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete -o -name '\.*.cmd' -delete
|
||||||
|
|
||||||
install: $(ALL_PROGRAMS)
|
install: $(ALL_PROGRAMS)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue