summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-30 10:41:11 +0700
committerhathach <[email protected]>2023-03-30 10:41:11 +0700
commit641613c428e10a029b172c318d4db077e35fee7d (patch)
treec607eaaa3822fe522bf57f0d24e858fb782b7d81 /tools
parent96718b7ca08d1d74cf1ecfb3816b57df50bf1616 (diff)
update all cmake for esp32 build
Diffstat (limited to 'tools')
-rw-r--r--tools/build_family.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build_family.py b/tools/build_family.py
index ae0bb282d..f9f7261fe 100644
--- a/tools/build_family.py
+++ b/tools/build_family.py
@@ -42,7 +42,7 @@ if __name__ == '__main__':
# If examples are not specified in arguments, build all
all_examples = []
for dir1 in os.scandir("examples"):
- if dir1.is_dir():
+ if dir1.is_dir() and 'cmake-build' not in dir1.name:
for entry in os.scandir(dir1.path):
if entry.is_dir():
all_examples.append(dir1.name + '/' + entry.name)
@@ -52,7 +52,7 @@ if __name__ == '__main__':
# If family are not specified in arguments, build all
all_families = []
for entry in os.scandir("hw/bsp"):
- if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name != 'espressif'
+ if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name != 'espressif':
all_families.append(entry.name)
filter_with_input(all_families)
all_families.sort()