summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/saveSample.sh4
-rw-r--r--scripts/upgrade/v312
2 files changed, 16 insertions, 0 deletions
diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh
index 2f4a10b..e367e6e 100644
--- a/scripts/saveSample.sh
+++ b/scripts/saveSample.sh
@@ -11,6 +11,10 @@
CT_LoadConfig
+# Override CT_VCHECK: we're going to be saving it so need to force saving of
+# the config version.
+export CT_VCHECK=save
+
# We can not reliably save a sample which either uses local patches
# and/or custom Linux kernel headers. Warn the user about this issue
# and continue if he/she confirms sving the sample.
diff --git a/scripts/upgrade/v3 b/scripts/upgrade/v3
new file mode 100644
index 0000000..1b8fce8
--- /dev/null
+++ b/scripts/upgrade/v3
@@ -0,0 +1,12 @@
+# vim: set filetype=sh :
+
+# Upgrade v3 -> v4:
+# - uClibc retired, leaving only uClibc-ng
+upgrade()
+{
+ case "${opt}" in
+ CT_LIBC_UCLIBC)
+ replace CT_LIBC_UCLIBC_NG
+ ;;
+ esac
+}