[U-Boot] [PATCH v2 10/31] binman: Allow easy importing of entry modules

sjg at google.com sjg at google.com
Thu Jul 18 01:58:52 UTC 2019


At present entry modules can only be accessed using Entry.Lookup() or
Entry.Create(). Most of the time this is fine, but sometimes a module
needs to provide constants or helper functions useful to other modules.
It is easier in this case to use 'import'.

Add an __init__ file to permit this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 tools/binman/entry.py          | 2 ++
 tools/binman/etype/__init__.py | 0
 tools/patman/test_util.py      | 1 +
 3 files changed, 3 insertions(+)
 create mode 100644 tools/binman/etype/__init__.py

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list