summaryrefslogtreecommitdiff
path: root/tools/buildman/builder.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-18 03:09:02 +0300
committerSimon Glass <sjg@chromium.org>2020-04-26 23:25:21 +0300
commit0ede00fdaf1d2162350631294f57645675737d89 (patch)
tree9798b1d33790a198d9704b88137d0a4631ac4099 /tools/buildman/builder.py
parentce0dc2edfc51dba5134d50a49ac8a18667fb55b2 (diff)
downloadu-boot-0ede00fdaf1d2162350631294f57645675737d89.tar.xz
buildman: Move to absolute imports
At present buildman 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 buildman to use absolute imports. Also adjust moveconfig.py too since it uses some buildman modules and cannot work without this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/builder.py')
-rw-r--r--tools/buildman/builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index 1b61e3a837..b7f2c426e3 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -17,12 +17,12 @@ import sys
import threading
import time
-import builderthread
+from buildman import builderthread
+from buildman import toolchain
import command
import gitutil
import terminal
from terminal import Print
-import toolchain
"""
Theory of Operation