aboutsummaryrefslogtreecommitdiff
path: root/tools/patman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-24 07:22:54 -0600
committerSimon Glass <sjg@chromium.org>2019-10-15 08:40:02 -0600
commitf514d8f23de4aada7e6f9f4d9de731b43912a77a (patch)
treea50719170ba87a13a437d145ea08cae932ba1cd6 /tools/patman
parent53e22bf38c202d5ef3bc092d55095c672994a15b (diff)
downloadu-boot-f514d8f23de4aada7e6f9f4d9de731b43912a77a.zip
u-boot-f514d8f23de4aada7e6f9f4d9de731b43912a77a.tar.gz
u-boot-f514d8f23de4aada7e6f9f4d9de731b43912a77a.tar.bz2
binman: Use the Makefile for u_boot_ucode_ptr
Remove this file from git and instead build it using the Makefile. Update tools.GetInputFilename() to support reading files from an absolute path, so that we can read the Elf test files easily. Also make sure that the temp directory is report in ELF tests as this was commented out. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman')
-rw-r--r--tools/patman/tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/tools.py b/tools/patman/tools.py
index 0952681..4a7fcda 100644
--- a/tools/patman/tools.py
+++ b/tools/patman/tools.py
@@ -125,7 +125,7 @@ def GetInputFilename(fname):
Returns:
The full path of the filename, within the input directory
"""
- if not indir:
+ if not indir or fname[:1] == '/':
return fname
for dirname in indir:
pathname = os.path.join(dirname, fname)