From: Yann E. MORIN Date: Mon, 29 Jul 2019 20:19:55 +0000 (+0200) Subject: core: simplify removal of generated br2-external files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76345bf6bcd3429f44156dc3654144403f485051;p=buildroot.git core: simplify removal of generated br2-external files Now that all the br2-external generated files are named after the same pattern, it gets easier to remove them all using a glob. Furthermore, we're on the verge of introducing more such generated files, so removing them at one fell swoop will be simpler too. Signed-off-by: "Yann E. MORIN" Cc: Vadim Kochan Signed-off-by: Peter Korsgaard --- diff --git a/Makefile b/Makefile index 8bca4bafd0..24cb6be85e 100644 --- a/Makefile +++ b/Makefile @@ -1066,7 +1066,7 @@ ifeq ($(O),$(CURDIR)/output) rm -rf $(O) endif rm -rf $(TOPDIR)/dl $(BR2_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/..config.tmp \ - $(CONFIG_DIR)/.auto.deps $(BR2_EXTERNAL_FILE) $(BASE_DIR)/.br2-external.in + $(CONFIG_DIR)/.auto.deps $(BASE_DIR)/.br2-external.* .PHONY: help help: