buildman: Add an option to flatten output directory trees
authorSimon Glass <sjg@chromium.org>
Tue, 2 Dec 2014 00:33:55 +0000 (17:33 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 15 Jan 2015 05:16:52 +0000 (21:16 -0800)
commit5971ab5c44cb0c32c88fcdc90a3a9b6430463c4c
tree503e0311df4db18ff0148152c4e073fc705c9635
parent2a9e2c6a0962cb04a12d833cc5c1c0920fa3b4f5
buildman: Add an option to flatten output directory trees

When building current source for a single board, buildman puts the output
in <output_dir>/current/current/<board>. Add an option to make it use
<output_dir>/<board> instead. This removes the unnecessary directories
in that case, controlled by the --no-subdirs/-N option.

Suggested-by: Tom Rini <trini@ti.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py
tools/buildman/cmdline.py
tools/buildman/control.py
tools/buildman/test.py