aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sven Oliver Moll <buildroot@svol.li>2020-10-21 12:34:00 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-10-21 21:56:57 +0200
commit36edacce9c2c3b90f9bb11a5d2208e8edf7bbe63 (patch)
tree37ff0799308d1d2323ddba826277e87bc0ecc23f
parent9a2c91cddd38d50551949d7721f5952139cd87bb (diff)
downloadbuildroot-36edacce9c2c3b90f9bb11a5d2208e8edf7bbe63.tar.gz
buildroot-36edacce9c2c3b90f9bb11a5d2208e8edf7bbe63.tar.bz2
Makefile: exclude BR2_DL_DIR from savedefconfig
Running "make savedefconfig" with BR2_DL_DIR set also saves that variable, which is only useful in local context. Signed-off-by: Sven Oliver Moll <buildroot@svol.li> [yann.morin.1998@free.fr: wrap line] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 384bfe3fe9..d1d19d8f40 100644
--- a/Makefile
+++ b/Makefile
@@ -1027,7 +1027,9 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
@$(COMMON_CONFIG_ENV) $< \
--savedefconfig=$(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) \
$(CONFIG_CONFIG_IN)
- @$(SED) '/BR2_DEFCONFIG=/d' $(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig)
+ @$(SED) '/BR2_DEFCONFIG=/d' \
+ -e '/BR2_DL_DIR=/d' \
+ $(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig)
.PHONY: defconfig savedefconfig update-defconfig