summaryrefslogtreecommitdiff
path: root/tools/buildman/builder.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-07-30 14:08:22 +0900
committerTom Rini <trini@ti.com>2014-07-30 14:42:02 -0400
commit73f30b9b8097b1a25f48fbe035f1dee3dac89317 (patch)
treedf5f7803b2532cf330065b624d5ba611545aedc7 /tools/buildman/builder.py
parentbb6da87d7eba1bbd51c98a4912ee4e099d79a639 (diff)
downloadu-boot-imx-73f30b9b8097b1a25f48fbe035f1dee3dac89317.zip
u-boot-imx-73f30b9b8097b1a25f48fbe035f1dee3dac89317.tar.gz
u-boot-imx-73f30b9b8097b1a25f48fbe035f1dee3dac89317.tar.bz2
buildman: adjust for Kconfig
Use "make <board>_defconfig" instead of "make <board>_config". Invoke tools/genboardscfg.py to generate boards.cfg when it is missing. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/builder.py')
-rw-r--r--tools/buildman/builder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index 7de8125..48408ff 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -199,7 +199,7 @@ class BuilderThread(threading.Thread):
commit_upto: Commit number to build (0...n-1)
brd: Board object to build
work_dir: Directory to which the source will be checked out
- do_config: True to run a make <board>_config on the source
+ do_config: True to run a make <board>_defconfig on the source
force_build: Force a build even if one was previously done
force_build_failures: Force a bulid if the previous result showed
failure
@@ -266,7 +266,7 @@ class BuilderThread(threading.Thread):
args.append('-s')
if self.builder.num_jobs is not None:
args.extend(['-j', str(self.builder.num_jobs)])
- config_args = ['%s_config' % brd.target]
+ config_args = ['%s_defconfig' % brd.target]
config_out = ''
args.extend(self.builder.toolchains.GetMakeArguments(brd))
@@ -419,7 +419,7 @@ class BuilderThread(threading.Thread):
work_dir = self.builder.GetThreadDir(self.thread_num)
self.toolchain = None
if job.commits:
- # Run 'make board_config' on the first commit
+ # Run 'make board_defconfig' on the first commit
do_config = True
commit_upto = 0
force_build = False