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" <yann.morin.1998@free.fr> Cc: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
492d09bab2
commit
76345bf6bc
2
Makefile
2
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:
|
||||
|
Loading…
Reference in New Issue
Block a user