[Buildroot] [PATCH 1/1] Makefile: exclude DL_DIR from savedefconfig
Sven Oliver Moll
buildroot at svol.li
Wed Oct 21 10:34:00 UTC 2020
Running "make savedefconfig" with DL_DIR set also saves that variable,
which is only useful in local context.
Signed-off-by: Sven Oliver Moll <buildroot at svol.li>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 384bfe3fe9..e7b3b7535b 100644
--- a/Makefile
+++ b/Makefile
@@ -1027,7 +1027,7 @@ 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
--
2.20.1
More information about the buildroot
mailing list