mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02: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:
@@ -29,10 +29,10 @@ from dtoc import fdt_util
|
||||
from binman.etype import fdtmap
|
||||
from binman.etype import image_header
|
||||
from image import Image
|
||||
import command
|
||||
import test_util
|
||||
import tools
|
||||
import tout
|
||||
from patman import command
|
||||
from patman import test_util
|
||||
from patman import tools
|
||||
from patman import tout
|
||||
|
||||
# Contents of test files, corresponding to different entry types
|
||||
U_BOOT_DATA = b'1234'
|
||||
|
Reference in New Issue
Block a user