]> git.ipfire.org Git - thirdparty/u-boot.git/commit
binman: collection: Set build_done on referenced entries
authoryan wang <yan.wang@softathome.com>
Fri, 17 Apr 2026 08:30:49 +0000 (10:30 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 5 May 2026 16:37:09 +0000 (10:37 -0600)
commit9ff82a771c44a8cf38bd52b556f685ddbc6f1a55
tree956c53004b89d173b8a433f69b31914a3aa5ea70
parent5006121b44a2d147e7e426c74537b3566407e853
binman: collection: Set build_done on referenced entries

The collection etype uses phandles in the 'content' property to
reference other entries. Mark each referenced entry with build_done
to avoid rebuilding the same entry data multiple times.

This is important for cases where rebuilding may change the data
content, e.g. due to timestamps or random IVs in encryption.

Refactor GetContentsByPhandle() to return both the entry object and
its data.

Signed-off-by: yan wang <yan.wang@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/collection.py
tools/binman/etype/section.py