Skip to contentSkip to conversation

buildman: Fix building based on 'options' field

PATCH In review Tom Rini 2 participants 3 messages Nov 5, 2016 – Nov 7, 2016

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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.

---
 tools/buildman/board.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/buildman/board.py +2 -2
index 5d536d5f2004..ae0e0b8e1719 100644
@@ -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
 
 
Signature · 1 line
1.9.1
author
#2 lore raw
In reply to Tom Rini
Quoted 7 lines · Tom Rini

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161106/39ed120f/attachment.sig>