]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Write fake blobs to the output directory
authorSimon Glass <sjg@chromium.org>
Wed, 12 Jan 2022 20:10:36 +0000 (13:10 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 13 Jan 2022 02:26:59 +0000 (21:26 -0500)
commite3a6ff6b4fe2e1e864993e974775588d704eba39
tree8587c8832b50a6cdba7118649fa2aa66e9b9e939
parent9da298e7cd4bf58c3c9aed40faafec1c8fc104e1
binman: Write fake blobs to the output directory

At present binman writes fake blobs to the current directory. This is not
very helpful, since the files serve no useful purpose once binman has
finished. They clutter up the source directory and affect future runs,
since the files in the current directory are often used in preference to
those in the board directory.

To avoid these problems, write them to the output directory instead.

Move the file-creation code to the Entry base class, so it can be used by
any entry type that needs it. This is required since some entry types,
such as Entry_blob_ext_list, are not subclasses of Entry_blob.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/blob.py
tools/binman/ftest.py