mk-recovery.sh: add arm kernel option

Change-Id: I63a93a139473de12b306f4ba4d4c663d1cecdc28
Signed-off-by: Hans Yang <yhx@rock-chips.com>
This commit is contained in:
Hans Yang
2018-06-29 21:50:25 +08:00
parent 49a2415bb7
commit 7280804bdb

View File

@ -12,8 +12,11 @@ TOP_DIR=$(pwd)
source $TOP_DIR/BoardConfig.mk
echo "recovery config: $CFG_RECOVERY"
if [ $ARCH == arm64 ];then
KERNEL_IMAGE=$TOP_DIR/kernel/arch/arm64/boot/Image
elif [ $ARCH == arm ];then
KERNEL_IMAGE=$TOP_DIR/kernel/arch/arm/boot/zImage
fi
KERNEL_DTB=$TOP_DIR/kernel/resource.img
MK_KERNEL=$DEVICE_DIR/mk-kernel.sh