summaryrefslogtreecommitdiff
path: root/ct-ng.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-09 23:55:16 (GMT)
committerAlexey Neyman <stilor@att.net>2019-02-09 23:55:16 (GMT)
commit74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1 (patch)
tree59f7c27a3d83f8ede979e58407c0a40c2d75b10b /ct-ng.in
parent09cb590847e5e26e5bb029c1a2693cfa7a1e99b6 (diff)
Use enhanced framework for 'ct-ng update-samples'
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'ct-ng.in')
-rw-r--r--ct-ng.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 0120d35..0a12e09 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."