| # /bin/bash |
| |
| TOPDIR=$(pwd) |
| cd ${TOPDIR}/build/tmp/deploy/images/ |
| |
| tempPath="./simple-image" |
| if [ ! -d "$tempPath" ]; then |
| echo "success" |
| else |
| rm -rf $tempPath |
| fi |
| cp -rf ./auto2735evb-ivt-main ./simple-image |
| |
| rm -rf ./simple-image/target-files |
| rm -rf ./simple-image/mddata |
| rm -rf ./simple-image/__pycache__ |
| rm -rf ./simple-image/optee |
| rm -rf ./simple-image/serial |
| rm -rf ./simple-image/sncfg |
| rm -rf ./simple-image/target-files |
| rm -rf ./simple-image/trustzone |
| |
| rm -rf ./simple-image/fitImage-auto2735evb-ivt-main.bin |
| rm -rf ./simple-image/fitImage-linux.bin* |
| rm -rf ./simple-image/fitImage-linux.bin-auto2735evb-ivt-main.bin |
| |
| rm -rf ./simple-image/mtk-core-image-tiny-auto2735evb-ivt-main.squashfs |
| rm -rf ./simple-image/*.rootfs.squashfs |
| rm -rf ./simple-image/mtk-image-2735-auto2735evb-ivt-main.squashfs |
| |
| rm -rf ./simple-image/recovery.squashfs |
| rm -rf ./simple-image/system.squashfs |
| |
| rm -rf ./simple-image/userdata.ubi |
| rm -rf ./simple-image/userdata.ubifs |
| |
| rm -rf ./simple-image/target-files.zip |
| rm -rf ./simple-image/modules--* |
| rm -rf ./simple-image/modules-auto2735evb-ivt-main.tgz |
| |
| rm -rf ./simple-image/md1dsp_original.img |
| rm -rf ./simple-image/md1img_original.img |
| rm -rf ./simple-image/modem.img |
| rm -rf ./simple-image/system_unsparse.img |
| rm -rf ./simple-image/fitImage |