commit | 14d55bcad86b6565cf9a4dd524ca14cc36a2f9e1 | [log] [tgz] |
---|---|---|
author | Martí Bolívar <marti.bolivar@nordicsemi.no> | Wed Apr 29 10:21:43 2020 -0700 |
committer | Kumar Gala <kumar.gala@gmail.com> | Tue May 05 11:05:58 2020 -0500 |
tree | fb7a2222a356a2ec249ff0259ccbaa785ca2bf19 | |
parent | 53f6aaee2efb68a7d6e50b0ca6cd717091bd475f [diff] |
cmake: host-tools fixes for DTC 1. Fix the regular expression used to parse version numbers. This uses \. and . to parse literal dots; the second one matches any character. Just use [.] instead in both cases. 2. Don't error out if the installed dtc is too old. It's optional, so we should just proceed without it. Print a warning instead, and make it so dts.cmake won't do anything with the installed dtc. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>