소스 검색

buildman: Fix building based on 'options' field

The README for buildman says that we can use any field in boards.cfg to
decide what to build.  However, we were not saving the options field
correctly.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tom Rini 8 년 전
부모
커밋
e0f2406e73
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tools/buildman/board.py

+ 2 - 2
tools/buildman/board.py

@@ -92,9 +92,9 @@ class Board:
         self.board_name = board_name
         self.board_name = board_name
         self.vendor = vendor
         self.vendor = vendor
         self.soc = soc
         self.soc = soc
-        self.props = [self.target, self.arch, self.cpu, self.board_name,
-                      self.vendor, self.soc]
         self.options = options
         self.options = options
+        self.props = [self.target, self.arch, self.cpu, self.board_name,
+                      self.vendor, self.soc, self.options]
         self.build_it = False
         self.build_it = False