From: Thomas Richard Date: Thu, 19 Sep 2024 10:27:27 +0000 (+0200) Subject: toplevel.mk: add target feeds in 'make distclean' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a544b9252bbda2643704e01c8085cdde2d3f1362;p=openwrt%2Fstaging%2Fansuel.git 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 --- 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)),)