fix(tool): export.sh cannot export xtensa-clang if installed issue

This commit is contained in:
Fu Hanxi
2021-11-01 14:59:11 +08:00
parent 148e0fce84
commit d269be1861

View File

@@ -196,7 +196,7 @@
"description": "LLVM for Xtensa (ESP32, ESP32-S2) based on clang", "description": "LLVM for Xtensa (ESP32, ESP32-S2) based on clang",
"export_paths": [ "export_paths": [
[ [
"xtensa-clang", "xtensa-esp32-elf-clang",
"bin" "bin"
] ]
], ],
@@ -213,7 +213,7 @@
"clang", "clang",
"--version" "--version"
], ],
"version_regex": "version\\s*([0-9\\.]+)\\s*\\([^\\s]+\\s*(\\w+)\\)", "version_regex": "version\\s*([0-9\\.]+)\\s*\\([^\\s]+\\s*(\\w{10}).+\\)",
"version_regex_replace": "\\1-\\2", "version_regex_replace": "\\1-\\2",
"versions": [ "versions": [
{ {