]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - tools/buildman/control.py
Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze
[karo-tx-uboot.git] / tools / buildman / control.py
index d98e50ac1f74619e32a036097c2da3c3d588a3d4..68ea961876ebde40f7b61bae85a150b7593ca7e7 100644 (file)
@@ -120,12 +120,10 @@ def DoBuildman(options, args):
 
     # Work out what subset of the boards we are building
     board_file = os.path.join(options.git, 'boards.cfg')
-    if not os.path.exists(board_file):
-        print 'Could not find %s' % board_file
-        status = subprocess.call([os.path.join(options.git,
-                                               'tools/genboardscfg.py')])
-        if status != 0:
-            sys.exit("Failed to generate boards.cfg")
+    status = subprocess.call([os.path.join(options.git,
+                                           'tools/genboardscfg.py')])
+    if status != 0:
+        sys.exit("Failed to generate boards.cfg")
 
     boards = board.Boards()
     boards.ReadBoards(os.path.join(options.git, 'boards.cfg'))