summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-03-02 12:44:28 +0700
committerGitHub <[email protected]>2021-03-02 12:44:28 +0700
commita3a9a5efb91b56429ac75c0a81101dedd524eba0 (patch)
treecd83f56098b7f2022b5875aff6206bdbc9815241 /tools
parent0374e085507cd23124d9cc6d5f2b10565717b72d (diff)
parentb066fdc2c69591412d2b7c9111a122266cd9f87a (diff)
Merge pull request #690 from hathach/submodule-on-the-fly
Submodule on the fly
Diffstat (limited to 'tools')
-rw-r--r--tools/build_family.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/build_family.py b/tools/build_family.py
index 23a08c663..65d0e8fc2 100644
--- a/tools/build_family.py
+++ b/tools/build_family.py
@@ -98,12 +98,12 @@ def build_size(example, board):
def skip_example(example, board):
ex_dir = 'examples/' + example
+ # family CMake
+ board_mk = 'hw/bsp/{}/family.cmake'.format(family)
+
# 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)
+ board_mk = 'hw/bsp/{}/family.mk'.format(family)
with open(board_mk) as mk:
mk_contents = mk.read()