diff --git a/make.sh b/make.sh index d2f18a122c..68370a8239 100755 --- a/make.sh +++ b/make.sh @@ -509,6 +509,7 @@ function pack_uboot_itb_image() else tos_image=`sed -n "/TOS=/s/TOS=//p" $ini |tr -d '\r'` tosta_image=`sed -n "/TOSTA=/s/TOSTA=//p" $ini |tr -d '\r'` + mcu_image=`sed -n "/MCU=/s/MCU=//p" $ini |tr -d '\r'` if [ $tosta_image ]; then cp ${RKBIN}/${tosta_image} tee.bin elif [ $tos_image ]; then @@ -518,6 +519,10 @@ function pack_uboot_itb_image() exit 1 fi + if [ $mcu_image ]; then + cp ${RKBIN}/${mcu_image} mcu.bin + fi + tee_offset=`sed -n "/ADDR=/s/ADDR=//p" $ini |tr -d '\r'` if [ "$tee_offset" = "" ]; then tee_offset=0x8400000