forked from openkylin/platform_build
Merge branch 'readonly-p4-master'
This commit is contained in:
commit
c6c4db56eb
|
@ -817,7 +817,7 @@ function tracedmdump()
|
|||
return
|
||||
fi
|
||||
local prebuiltdir=$(getprebuilt)
|
||||
local KERNEL=$T/prebuilt/android-arm/vmlinux-qemu
|
||||
local KERNEL=$T/prebuilt/android-arm/kernel/vmlinux-qemu
|
||||
|
||||
local TRACE=$1
|
||||
if [ ! "$TRACE" ] ; then
|
||||
|
@ -825,6 +825,11 @@ function tracedmdump()
|
|||
return
|
||||
fi
|
||||
|
||||
if [ ! -r "$KERNEL" ] ; then
|
||||
echo "Error: cannot find kernel: '$KERNEL'"
|
||||
return
|
||||
fi
|
||||
|
||||
local BASETRACE=$(basename $TRACE)
|
||||
if [ "$BASETRACE" = "$TRACE" ] ; then
|
||||
TRACE=$ANDROID_PRODUCT_OUT/traces/$TRACE
|
||||
|
|
Loading…
Reference in New Issue