Quellcode durchsuchen

Add Linux support for find_apps and build_apps

Fu Hanxi vor 5 Jahren
Ursprung
Commit
fcabbe5f33
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      tools/find_build_apps/common.py

+ 2 - 1
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