From 74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 9 Feb 2019 15:55:16 -0800 Subject: Use enhanced framework for 'ct-ng update-samples' Signed-off-by: Alexey Neyman --- ct-ng.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ct-ng.in') diff --git a/ct-ng.in b/ct-ng.in index 0120d35d..0a12e097 100644 --- a/ct-ng.in +++ b/ct-ng.in @@ -145,7 +145,10 @@ defconfig: check-config $(SILENT)CT_VCHECK=save $(CONF) --defconfig=$${DEFCONFIG-defconfig} $(KCONFIG_TOP) upgradeconfig: .config check-config + $(SILENT)cp .config .config.before-upgrade $(SILENT)CT_UPGRADECONFIG=yes $(bash) $(CT_LIB_DIR)/scripts/version-check.sh .config + @$(CT_ECHO) "Saving .config as .config.before-olddefconfig before running 'ct-ng olddefconfig'" + $(SILENT)cp .config .config.before-olddefconfig $(SILENT)$(CONF) --olddefconfig $(KCONFIG_TOP) @$(CT_ECHO) "Done. You may now run 'ct-ng menuconfig' to edit the configuration." -- cgit v1.2.3