projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6456cf9
)
elf_gen_dep.sh: Don't calculate dependencies for whitespace symbols
author
Matt Fleming
<matt.fleming@linux.intel.com>
Fri, 15 Apr 2011 20:27:37 +0000
(21:27 +0100)
committer
Matt Fleming
<matt.fleming@linux.intel.com>
Tue, 26 Apr 2011 09:06:29 +0000
(10:06 +0100)
Don't try to resolve dependencies for a symbol whose name is purely
made up of whitespace.
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
elf_gen_dep.sh
patch
|
blob
|
history
diff --git
a/elf_gen_dep.sh
b/elf_gen_dep.sh
index
9a26c92
..
2cde308
100755
(executable)
--- a/
elf_gen_dep.sh
+++ b/
elf_gen_dep.sh
@@
-23,6
+23,8
@@
do
sed -n -e "/UND/d" -e "/ABS/d" -e "/...[0-9] $/d" -e "/...[0-9] \./d" -e "/...[0-9]/p" $module.txt > $module.int
sed -i -e "s/^.....//g" $module.int
sed -i -e "s/^\(.*\)$/\1 <$module>/g" $module.int
+ # Delete all whitespace
+ sed -i -e "s/^[ \t]*$//g" $module.int
cat $module.int >> all.txt
done