commit | ba58bcc82aaa4cee8123c9be0816ccf7b01fc0b6 | [log] [tgz] |
---|---|---|
author | Greg Hartman <[email protected]> | Fri May 31 16:25:04 2019 -0700 |
committer | android-build-merger <[email protected]> | Fri May 31 16:25:04 2019 -0700 |
tree | 324bfc5c1382d89e71dc65823725a2b6a56ad243 | |
parent | 66a96104ff11e7997f1226ad71522a31abb4a5a6 [diff] | |
parent | bf47af38ca9879a9716661614462e0f744994dea [diff] |
Add support for arm64 kernels am: 5b6c918001 am: bf47af38ca Change-Id: Ie44dd82518df55266a60a0f7e730db030bc411c5
diff --git a/scripts/extract-vmlinux b/scripts/extract-vmlinux index 5061abc..9354943 100755 --- a/scripts/extract-vmlinux +++ b/scripts/extract-vmlinux
@@ -44,6 +44,12 @@ exit 2 fi +# The kernel is an Image.gz on aarch64, so just decompress +if [ `uname -m` = aarch64 ]; then + gunzip < "$1" + exit $? +fi + # Prepare temp files: tmp=$(mktemp /tmp/vmlinux-XXX) trap "rm -f $tmp" 0