Explorar o código

fix ci build for rp2040

hathach %!s(int64=5) %!d(string=hai) anos
pai
achega
908a3d128f
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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()