'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 <[email protected]>
---
 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-@[email protected]:
 # oldconfig / menuconfig
 # ----------------------------------------------------------------------------
 
-kernel-@package@_oldconfig kernel-@package@_menuconfig: 
$(STATEDIR)/kernel-@[email protected]
+kernel-@package@_oldconfig kernel-@package@_menuconfig 
kernel-@package@_nconfig: $(STATEDIR)/kernel-@[email protected]
        @$(call world/kconfig, KERNEL_@PACKAGE@, $(subst kernel-@package@_,,$@))
 
 # vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to