diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2021-03-01 12:23:51 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2021-03-02 14:06:56 +0000 |
commit | 5f6f9299aab5ac81808496532a67d25860516191 (patch) | |
tree | a0a2728435a15803ef044df7ba25609e937adfb5 /scripts | |
parent | 42b935f96581937de41e9b312075a2a6e04fa17d (diff) |
baremetal: Fix detection of GCC ARM toolchain installers on Windows
... provided by ARM group.
Previously, we detected the installed GCC toolchain through the
`Uninstall` group in the Windows registry. Where we have enumerated
all sub-groups in this group, and searched for a matching for to the
`GNU Tools for ARM Embedded Processors` token. But the problem is
that in newer versions of the installer, the name of this group has
been changed. Moreover, that method is slow because it enumerates
all the entries in the group, where these entries can be a lot.
Alternatively, we can search for installed toolchains using the
`HKLM/SOFTWARE/ARM` path that is constant, contain only the installed
toolchains, and present on all versions of installers.
Change-Id: If3dc280d03a9c6e25113263309822599f0010d9b
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions