aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/elf.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-17 18:09:03 -0600
committerSimon Glass <sjg@chromium.org>2020-04-26 14:25:21 -0600
commit16287933a852bab2ac4985a770e08c9aa69d21b1 (patch)
treee907492e72c279b64ac971c916de8078a48e8157 /tools/binman/elf.py
parent0ede00fdaf1d2162350631294f57645675737d89 (diff)
downloadu-boot-16287933a852bab2ac4985a770e08c9aa69d21b1.zip
u-boot-16287933a852bab2ac4985a770e08c9aa69d21b1.tar.gz
u-boot-16287933a852bab2ac4985a770e08c9aa69d21b1.tar.bz2
binman: Move to absolute imports
At present binman sets the python path on startup so that it can access the libraries it needs. If we convert to use absolute imports this is not necessary. Move binman to use absolute imports. This enables removable of the path adjusting in Entry also. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/elf.py')
-rw-r--r--tools/binman/elf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/elf.py b/tools/binman/elf.py
index 29fdac1..335d411 100644
--- a/tools/binman/elf.py
+++ b/tools/binman/elf.py
@@ -6,7 +6,6 @@
#
from collections import namedtuple, OrderedDict
-import command
import io
import os
import re
@@ -14,6 +13,7 @@ import shutil
import struct
import tempfile
+import command
import tools
import tout