OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e36f86
)
libc: kernel: let clean_header tool take path to kernel originals as argument
author
Dima Zavin
<dima@android.com>
Thu, 6 Aug 2009 00:55:30 +0000
(17:55 -0700)
committer
Dima Zavin
<dima@android.com>
Thu, 6 Aug 2009 00:56:55 +0000
(17:56 -0700)
Signed-off-by: Dima Zavin <dima@android.com>
libc/kernel/tools/clean_header.py
patch
|
blob
|
history
diff --git
a/libc/kernel/tools/clean_header.py
b/libc/kernel/tools/clean_header.py
index
de4bf85
..
28cb05e
100755
(executable)
--- a/
libc/kernel/tools/clean_header.py
+++ b/
libc/kernel/tools/clean_header.py
@@
-96,7
+96,7
@@
if __name__ == "__main__":
sys.exit(1)
try:
- optlist, args = getopt.getopt( sys.argv[1:], 'uv' )
+ optlist, args = getopt.getopt( sys.argv[1:], 'uv
k:
' )
except:
# unrecognized option
sys.stderr.write( "error: unrecognized option\n" )
@@
-108,6
+108,8
@@
if __name__ == "__main__":
elif opt == '-v':
verbose = 1
D_setlevel(1)
+ elif opt == '-k':
+ kernel_original_path = arg
if len(args) == 0:
usage()