| | |
| | | TOP_PATH=$(realpath $PRJ_PATH/..) |
| | | |
| | | # SDK build workspace |
| | | SDK_DIR=/work/android_build |
| | | SDK_DIR=android_build |
| | | |
| | | # binaries build prefix install path |
| | | PRFX_PATH=$PRJ_PATH/install |
| | |
| | | CONF_FILE=$TOP_PATH/config.json |
| | | |
| | | #4g files path |
| | | FILES_PATCH_4G=$PRJ_PATH/apps/Quectel_RILv3.6.24 |
| | | FILES_PATCH_4G=$PRJ_PATH/patches/Quectel_RILv3.6.24 |
| | | |
| | | #wifi firmware path |
| | | FILES_PATCH_WIFI=$PRJ_PATH/apps |
| | | FILES_PATCH_WIFI=$PRJ_PATH/patches/wifi/ |
| | | |
| | | # shell script will exit once get command error |
| | | set -e |
| | | |
| | |
| | | cp -f $FILES_PATCH_4G/libreference-ril.so $SDK_DIR/vendor/rockchip/common/phone/lib/libreference-ril-em05.so |
| | | |
| | | pr_info "copy wifi firmware..." |
| | | |
| | | cp -f $FILES_PATCH_WIFI/mt7601u.bin $SDK_DIR/vendor/rockchip/common/wifi/firmware |
| | | } |
| | | |