[PATCH v2 1/2] toplevel.mk: add target feeds in 'make distclean'

Thomas Richard thomas.richard at bootlin.com
Tue Sep 24 09:27:15 PDT 2024


When 'make distclean' is called, remove the target feeds.
Otherwise the directory target/linux/feeds/ (with broken symlinks) still
exists after a distclean.

Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
---
 include/toplevel.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/toplevel.mk b/include/toplevel.mk
index 54cd8e3a90..e5f5e0fecd 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -276,7 +276,7 @@ help:
 	cat README.md
 
 distclean:
-	rm -rf bin build_dir .ccache .config* dl feeds key-build* logs package/feeds staging_dir tmp
+	rm -rf bin build_dir .ccache .config* dl feeds key-build* logs package/feeds target/linux/feeds staging_dir tmp
 	@$(_SINGLE)$(SUBMAKE) -C scripts/config clean
 
 ifeq ($(findstring v,$(DEBUG)),)
-- 
2.39.5




More information about the openwrt-devel mailing list