[openwrt/openwrt] toplevel.mk: add target feeds in 'make distclean'

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 8 13:51:39 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a544b9252bbda2643704e01c8085cdde2d3f1362

commit a544b9252bbda2643704e01c8085cdde2d3f1362
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Thu Sep 19 12:27:27 2024 +0200

    toplevel.mk: add target feeds in 'make distclean'
    
    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>
    Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.115093.1726741692.1280.openwrt-devel@lists.openwrt.org/
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 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)),)




More information about the lede-commits mailing list