]> git.dujemihanovic.xyz Git - u-boot.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)
commit9fbfaba0a707eb4af2792b966a4f296f7778404f
treeaf3cb662e419fee019215e547dcf22340c05473c
parentfe05701b058c2944c288b60f4839d9b552acf059
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