]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Use pkg_resources to find resources
authorSimon Glass <sjg@chromium.org>
Sat, 29 Aug 2020 17:36:14 +0000 (11:36 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:50:43 +0000 (12:50 -0600)
commit5716498ffe8e93d1ceaa9442ba275ad7d94aa0d6
treeaf3cb662e419fee019215e547dcf22340c05473c
parentcb551dcf278ac99044b0aa044283dd0d1e2bece4
binman: Use pkg_resources to find resources

At present we look for resources based on the path of the Python module
that wants them. Instead we should use Python's pkg_resources feature
which is designed for this purpose.

Update binman to use this.

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