diff options
author | Alexey Neyman <stilor@att.net> | 2019-03-17 18:37:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-17 18:37:43 (GMT) |
commit | 89ba62fb1daad737cdb33c3b1ef69092beeaab0b (patch) | |
tree | 34ea6400ccf438cd9de5d42afe636fde0a011f50 /scripts/upgrade/v2 | |
parent | c4126d9397353a74ca5aff602dd2c0c527e1dd07 (diff) | |
parent | e4475c33df8702ec780f24ac482d5d9c2fc72d6d (diff) |
Merge pull request #1163 from stilor/docker-fixescrosstool-ng-1.24.0-rc3
Fix build on CentOS6/7
Diffstat (limited to 'scripts/upgrade/v2')
-rw-r--r-- | scripts/upgrade/v2 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/upgrade/v2 b/scripts/upgrade/v2 new file mode 100644 index 0000000..afff176 --- /dev/null +++ b/scripts/upgrade/v2 @@ -0,0 +1,25 @@ +# vim: set filetype=sh : + +# Upgrade v2 -> v3: unified build of native gdb and gdbserver, +# combining their options +upgrade() +{ + case "${opt}" in + CT_GDB_GDBSERVER_BUILD_IPA_LIB) + replace CT_GDB_NATIVE_BUILD_IPA_LIB + ;; + CT_GDB_GDBSERVER_STATIC) + if [ "${CT_GDB_GDBSERVER_STATIC}" != "${CT_GDB_GDBSERVER_STATIC}" ]; then + warning "Both native gdb and gdbserver must now be built in the same way" + fi + unset opt + ;; + CT_GDB_GDBSERVER_STATIC_LIBSTDCXX) + replace GDB_NATIVE_STATIC_LIBSTDCXX + ;; + CT_GDB_GDBSERVER_HAS_IPA_LIB) + # not user-selectable + unset opt + ;; + esac +} |