]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Fix building based on 'options' field
authorTom Rini <trini@konsulko.com>
Sat, 5 Nov 2016 02:59:45 +0000 (22:59 -0400)
committerTom Rini <trini@konsulko.com>
Sun, 6 Nov 2016 12:33:41 +0000 (07:33 -0500)
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>
tools/buildman/board.py

index 5d536d5f20049fc40dd78880632ac10257bcd4c8..ae0e0b8e171987169194ab3b9a282cf375ca5fb4 100644 (file)
@@ -92,9 +92,9 @@ class Board:
         self.board_name = board_name
         self.vendor = vendor
         self.soc = soc
-        self.props = [self.target, self.arch, self.cpu, self.board_name,
-                      self.vendor, self.soc]
         self.options = options
+        self.props = [self.target, self.arch, self.cpu, self.board_name,
+                      self.vendor, self.soc, self.options]
         self.build_it = False