diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-05-19 15:51:54 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-13 07:46:28 +0900 |
commit | bd63e5baf9c1ec724374c6b6a5d88408479d34ca (patch) | |
tree | d0e352eeb269e89a147a1c350fe3964ac45959f9 /board/Synology | |
parent | 90ed6cba51446f0e623ce076d6e565fad8909b46 (diff) | |
download | u-boot-imx-bd63e5baf9c1ec724374c6b6a5d88408479d34ca.zip u-boot-imx-bd63e5baf9c1ec724374c6b6a5d88408479d34ca.tar.gz u-boot-imx-bd63e5baf9c1ec724374c6b6a5d88408479d34ca.tar.bz2 |
tools: moveconfig: exit with error message for not clean directory
When the source tree is not clean, this tool raises an exception
with a message like follows:
Traceback (most recent call last):
File "tools/moveconfig.py", line 939, in <module>
main()
File "tools/moveconfig.py", line 934, in main
move_config(config_attrs, options)
File "tools/moveconfig.py", line 808, in move_config
while not slots.available():
File "tools/moveconfig.py", line 733, in available
if slot.poll():
File "tools/moveconfig.py", line 645, in poll
self.parser.update_dotconfig(self.defconfig)
File "tools/moveconfig.py", line 503, in update_dotconfig
with open(autoconf_path) as f:
IOError: [Errno 2] No such file or directory: '/tmp/tmpDtzCgl/include/autoconf.mk'
This does not explain what is wrong. Show an appropriate error
message "source tree is not clean, please run 'make mrproper'"
in such a situation.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'board/Synology')
0 files changed, 0 insertions, 0 deletions