Put this code into a function so it is easy for it be run when packaged. Signed-off-by: Simon Glass <s...@chromium.org> ---
Changes in v2: - Add patch to split out the main code into a function tools/buildman/main.py | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) Applied to u-boot-dm/next, thanks!