1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02: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:
Simon Glass
2020-04-17 18:09:05 -06:00
parent bf776679a7
commit b4fa94959d
9 changed files with 7 additions and 14 deletions

View File

@@ -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'