patman: Tidy up sys.path changes
authorSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2020 00:09:05 +0000 (18:09 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 20:25:21 +0000 (14:25 -0600)
commitb4fa94959db039c7eca4531a5b9a41baffa8b4c8
tree31c441d8968f3432b7be5149f401f0fc29fc3d34
parentbf776679a73f3b9eae37aabd2be5754483039cb2
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>
tools/binman/main.py
tools/buildman/main.py
tools/buildman/test.py
tools/dtoc/main.py
tools/dtoc/test_fdt.py
tools/genboardscfg.py
tools/moveconfig.py
tools/patman/main.py
tools/rmboard.py