mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
patman: Move to absolute imports
At present patman sets the python path on startup so that it can access the libraries it needs. If we convert to use absolute imports this is not necessary. Move patman to use absolute imports. This requires changes in tools which use the patman libraries (which is most of them). Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
16287933a8
commit
bf776679a7
58 changed files with 154 additions and 149 deletions
|
@ -32,7 +32,7 @@ import sys
|
|||
our_path = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path.append(os.path.join(our_path, '../tools/patman'))
|
||||
|
||||
import command
|
||||
from patman import command
|
||||
|
||||
def rm_kconfig_include(path):
|
||||
"""Remove a path from Kconfig files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue