summaryrefslogtreecommitdiff
path: root/tools/genboardscfg.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-18 03:09:05 +0300
committerSimon Glass <sjg@chromium.org>2020-04-26 23:25:21 +0300
commitb4fa94959db039c7eca4531a5b9a41baffa8b4c8 (patch)
tree31c441d8968f3432b7be5149f401f0fc29fc3d34 /tools/genboardscfg.py
parentbf776679a73f3b9eae37aabd2be5754483039cb2 (diff)
downloadu-boot-b4fa94959db039c7eca4531a5b9a41baffa8b4c8.tar.xz
patman: Tidy up sys.path changes
Now that we are using absolute paths we can remove some of the sys.path mangling that appears in the tools. We only need to add the path to 'tools/' so that everything can find modules relative to that directory. The special paths for finding pylibfdt remain. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/genboardscfg.py')
-rwxr-xr-xtools/genboardscfg.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index 4f6382bc7c..4ee7aa1f89 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -22,8 +22,7 @@ import sys
import tempfile
import time
-sys.path.insert(1, os.path.join(os.path.dirname(__file__), 'buildman'))
-import kconfiglib
+from buildman import kconfiglib
### constant variables ###
OUTPUT_FILE = 'boards.cfg'