summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-24 00:44:17 +0700
committerhathach <[email protected]>2021-01-24 00:44:17 +0700
commit959a94b98d020ee2f6a05e36be56c1618dd6ed78 (patch)
treeab0fe01d362ce176f3e69217b1e5bb036b04bc27 /tools
parentffad6eaf80900a858e22378e68de8b21b96c769e (diff)
rp2040 audio_test compile
Diffstat (limited to 'tools')
-rw-r--r--tools/build_family.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/build_family.py b/tools/build_family.py
index 7f2c1a706..eb0ef9d82 100644
--- a/tools/build_family.py
+++ b/tools/build_family.py
@@ -95,7 +95,13 @@ def build_size(example, board):
def skip_example(example, board):
ex_dir = 'examples/' + example
+
+ # family.mk
board_mk = 'hw/bsp/{}/family.mk'.format(family)
+
+ # family.cmake
+ if not os.path.exists(board_mk):
+ board_mk = 'hw/bsp/{}/family.cmake'.format(family)
with open(board_mk) as mk:
mk_contents = mk.read()