mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
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>
This commit is contained in:
parent
9a2c91cddd
commit
36edacce9c
4
Makefile
4
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user