mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-26 16:41:42 +00:00
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>
This commit is contained in:
parent
bf776679a7
commit
b4fa94959d
9 changed files with 7 additions and 14 deletions
|
@ -30,7 +30,6 @@ import sys
|
|||
|
||||
# Bring in the patman libraries
|
||||
our_path = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path.append(os.path.join(our_path, '../tools/patman'))
|
||||
|
||||
from patman import command
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue