aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/builder.py
diff options
context:
space:
mode:
authorSimon Glass2013-09-23 17:35:17 -0600
committerSimon Glass2013-10-01 14:39:14 -0600
commit4281ad8e7fcb304724127281f258d198001fd41a (patch)
tree5e777c526881590623f2edd7c31eb7ddbf101159 /tools/buildman/builder.py
parente19d5781ec5ea6de190f774835f361f8a43758d1 (diff)
buildman: Allow make flags to be specified for each board
There are a few make options such as BUILD_TAG which can be provided when building U-Boot. Provide a way for buildman to pass these flags to make also. The flags should be in a [make-flags] section and arranged by target name (the 'target' column in boards.cfg. See the README for more details. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/builder.py')
-rw-r--r--tools/buildman/builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index 29da67a54e7..4a2d753c218 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -253,6 +253,7 @@ class BuilderThread(threading.Thread):
args.extend(['-j', str(self.builder.num_jobs)])
config_args = ['%s_config' % brd.target]
config_out = ''
+ args.extend(self.builder.toolchains.GetMakeArguments(brd))
# If we need to reconfigure, do that now
if do_config: