Parcourir la source

fix ci build for rp2040

hathach il y a 5 ans
Parent
commit
908a3d128f
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      tools/build_family.py

+ 4 - 4
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()