From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Wed, 7 Aug 2019 12:28:37 +0200 Message-Id: <20190807102836.2145-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] rules: enable use of nconfig for barebox_mlo and custom kernel packages List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber 'ptxdist nconfig' works for the main kernel and barebox packages, so enable it for all other barebox and kernel packages too. Signed-off-by: Roland Hieber --- rules/barebox_mlo.make | 2 +- rules/templates/template-kernel-make | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/barebox_mlo.make b/rules/barebox_mlo.make index 6ede89266179..6bf05902a976 100644 --- a/rules/barebox_mlo.make +++ b/rules/barebox_mlo.make @@ -105,7 +105,7 @@ $(STATEDIR)/barebox_mlo.clean: # oldconfig / menuconfig # ---------------------------------------------------------------------------- -barebox_mlo_oldconfig barebox_mlo_menuconfig: $(STATEDIR)/barebox_mlo.extract +barebox_mlo_oldconfig barebox_mlo_menuconfig barebox_mlo_nconfig: $(STATEDIR)/barebox_mlo.extract @if test -e $(BAREBOX_MLO_CONFIG); then \ cp $(BAREBOX_MLO_CONFIG) $(BAREBOX_MLO_DIR)/.config; \ fi diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make index 6cb9cbc80770..8aac072c4522 100644 --- a/rules/templates/template-kernel-make +++ b/rules/templates/template-kernel-make @@ -108,7 +108,7 @@ $(STATEDIR)/kernel-@package@.targetinstall: # oldconfig / menuconfig # ---------------------------------------------------------------------------- -kernel-@package@_oldconfig kernel-@package@_menuconfig: $(STATEDIR)/kernel-@package@.extract +kernel-@package@_oldconfig kernel-@package@_menuconfig kernel-@package@_nconfig: $(STATEDIR)/kernel-@package@.extract @$(call world/kconfig, KERNEL_@PACKAGE@, $(subst kernel-@package@_,,$@)) # vim: syntax=make -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de