diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-07-07 09:46:36 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-07-07 17:22:48 -0600 |
commit | 1826a18d8dc6d9d00ba40c742aea41cbfdc47acb (patch) | |
tree | 0672f6a8a5bc41daf9d23241cb099ca3362691fa /include/mpc824x.h | |
parent | 15a7737515064bf14c5de4127b3219142e3fc7e4 (diff) | |
download | u-boot-imx-1826a18d8dc6d9d00ba40c742aea41cbfdc47acb.zip u-boot-imx-1826a18d8dc6d9d00ba40c742aea41cbfdc47acb.tar.gz u-boot-imx-1826a18d8dc6d9d00ba40c742aea41cbfdc47acb.tar.bz2 |
buildman: fix to display warning message for missing [toolchain] section
Toolchains.__init__ is expected to display a warning message
when the [toolchain] section is missing from ~/.buildman file.
But it never works.
In that case, instead, buildmain fails with an error message
which is difficult to understand:
Traceback (most recent call last):
File "tools/buildman/buildman", line 126, in <module>
control.DoBuildman(options, args)
File "/home/foo/u-boot/tools/buildman/control.py", line 78, in DoBuildman
toolchains = toolchain.Toolchains()
File "/home/foo/u-boot/tools/buildman/toolchain.py", line 106, in __init__
config_fname)
NameError: global name 'config_fname' is not defined
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/mpc824x.h')
0 files changed, 0 insertions, 0 deletions