mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
patman: Show the current directory in GetInputFilename()
When this fails it is useful to see the current directory, since U-Boot's build system will typically change into the output directory during the build. Add this information to the error. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
0ef87aa332
commit
4f5dea4543
@ -116,8 +116,8 @@ def GetInputFilename(fname):
|
||||
if os.path.exists(pathname):
|
||||
return pathname
|
||||
|
||||
raise ValueError("Filename '%s' not found in input path (%s)" %
|
||||
(fname, ','.join(indir)))
|
||||
raise ValueError("Filename '%s' not found in input path (%s) (cwd='%s')" %
|
||||
(fname, ','.join(indir), os.getcwd()))
|
||||
|
||||
def Align(pos, align):
|
||||
if align:
|
||||
|
Loading…
Reference in New Issue
Block a user