tools: genboardscfg: move buildman path to first
authorPeng Fan <peng.fan@nxp.com>
Tue, 24 Jul 2018 06:27:18 +0000 (14:27 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 30 Jul 2018 11:18:49 +0000 (07:18 -0400)
To system which has kconfiglib installed, genboardscfg will
use system kconfiglib, we need it use U-Boot owned version,
so move the buildman path to first.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/genboardscfg.py

index 0648472..e9bbd15 100755 (executable)
@@ -24,7 +24,7 @@ import sys
 import tempfile
 import time
 
-sys.path.append(os.path.join(os.path.dirname(__file__), 'buildman'))
+sys.path.insert(1, os.path.join(os.path.dirname(__file__), 'buildman'))
 import kconfiglib
 
 ### constant variables ###