aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/main.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-17 18:09:05 -0600
committerSimon Glass <sjg@chromium.org>2020-04-26 14:25:21 -0600
commitb4fa94959db039c7eca4531a5b9a41baffa8b4c8 (patch)
tree31c441d8968f3432b7be5149f401f0fc29fc3d34 /tools/dtoc/main.py
parentbf776679a73f3b9eae37aabd2be5754483039cb2 (diff)
downloadu-boot-b4fa94959db039c7eca4531a5b9a41baffa8b4c8.zip
u-boot-b4fa94959db039c7eca4531a5b9a41baffa8b4c8.tar.gz
u-boot-b4fa94959db039c7eca4531a5b9a41baffa8b4c8.tar.bz2
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/dtoc/main.py')
-rwxr-xr-xtools/dtoc/main.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/dtoc/main.py b/tools/dtoc/main.py
index 6c63d63..b94d9c3 100755
--- a/tools/dtoc/main.py
+++ b/tools/dtoc/main.py
@@ -32,7 +32,6 @@ import unittest
# Bring in the patman libraries
our_path = os.path.dirname(os.path.realpath(__file__))
-sys.path.append(os.path.join(our_path, '../patman'))
sys.path.append(os.path.join(our_path, '..'))
# Bring in the libfdt module