From fcabbe5f3340f9a79ab54def5b1b554f381da706 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Fri, 27 Nov 2020 18:06:36 +0800 Subject: [PATCH] Add Linux support for find_apps and build_apps --- tools/find_build_apps/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/find_build_apps/common.py b/tools/find_build_apps/common.py index 56fa696f05..12fd9f000d 100644 --- a/tools/find_build_apps/common.py +++ b/tools/find_build_apps/common.py @@ -289,12 +289,13 @@ class BuildSystem: Objects of these classes aren't instantiated, instead the class (type object) is used. """ NAME = "undefined" - SUPPORTED_TARGETS_REGEX = re.compile(r'Supported [Tt]argets((?:[\s|]+(?:ESP[0-9A-Z\-]+))+)') + SUPPORTED_TARGETS_REGEX = re.compile(r'Supported [Tt]argets((?:[ |]+(?:[0-9a-zA-Z\-]+))+)') FORMAL_TO_USUAL = { 'ESP32': 'esp32', 'ESP32-S2': 'esp32s2', 'ESP32-S3': 'esp32s3', + 'Linux': 'linux', } @classmethod