Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] Makefile: exclude DL_DIR from savedefconfig
@ 2020-10-21 10:34 Sven Oliver Moll
  2020-10-21 20:01 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Oliver Moll @ 2020-10-21 10:34 UTC (permalink / raw)
  To: buildroot

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@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-06 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-21 10:34 [Buildroot] [PATCH 1/1] Makefile: exclude DL_DIR from savedefconfig Sven Oliver Moll
2020-10-21 20:01 ` Yann E. MORIN
2020-11-06 23:23   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox