echo "Warnning: failed to get machine id."
echo "ex)./release.sh model_name"
echo "ex)--------------------------------------------------"
- echo "ex)./release.sh coreprimeve3g"
- echo "ex)./release.sh grandprimeve3g"
- echo "ex)./release.sh z3lte"
- echo "ex)./release.sh z3"
+ echo "ex)./release.sh tm1"
exit
fi
-if [ ${MODEL} = "coreprimeve3g" -o ${MODEL} = "z3" ]; then
+if [ ${MODEL} = "coreprimeve3g" -o ${MODEL} = "tm1" ]; then
MODULE=1
else
MODULE=0
exit 1
fi
-dtbtool -o ${BOOT_PATH}/merged-dtb -p ${DTC_PATH} -v ${BOOT_PATH}/dts/
+./scripts/sprd_dtbtool.sh -p ${DTC_PATH} -v ${BOOT_PATH}/dts/
if [ "$?" != "0" ]; then
echo "Failed to make merged-dtb"
exit 1
fi
-mkdzimage -o ${BOOT_PATH}/${DZIMAGE} -k ${BOOT_PATH}/zImage -d ${BOOT_PATH}/merged-dtb
+./scripts/sprd_mkdzimage.sh -o ${BOOT_PATH}/${DZIMAGE} -k ${BOOT_PATH}/zImage -d ${BOOT_PATH}/merged-dtb
if [ "$?" != "0" ]; then
echo "Failed to make mkdzImage"
exit 1