From a544b9252bbda2643704e01c8085cdde2d3f1362 Mon Sep 17 00:00:00 2001 From: Thomas Richard Date: Thu, 19 Sep 2024 12:27:27 +0200 Subject: [PATCH] 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 Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.115093.1726741692.1280.openwrt-devel@lists.openwrt.org/ Signed-off-by: Hauke Mehrtens --- 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.30.2