jb.qi | 00ad45b | 2022-11-22 20:02:24 -0800 | [diff] [blame] | 1 | # /bin/bash |
| 2 | |
| 3 | TOPDIR=$(pwd) |
| 4 | cd ${TOPDIR}/build/tmp/deploy/images/ |
| 5 | |
| 6 | tempPath="./simple-image" |
| 7 | if [ ! -d "$tempPath" ]; then |
| 8 | echo "success" |
| 9 | else |
| 10 | rm -rf $tempPath |
| 11 | fi |
| 12 | cp -rf ./auto2735evb-ivt-main ./simple-image |
| 13 | |
| 14 | rm -rf ./simple-image/target-files |
| 15 | rm -rf ./simple-image/mddata |
| 16 | rm -rf ./simple-image/__pycache__ |
| 17 | rm -rf ./simple-image/optee |
| 18 | rm -rf ./simple-image/serial |
| 19 | rm -rf ./simple-image/sncfg |
| 20 | rm -rf ./simple-image/target-files |
| 21 | rm -rf ./simple-image/trustzone |
| 22 | |
| 23 | rm -rf ./simple-image/fitImage-auto2735evb-ivt-main.bin |
| 24 | rm -rf ./simple-image/fitImage-linux.bin* |
| 25 | rm -rf ./simple-image/fitImage-linux.bin-auto2735evb-ivt-main.bin |
| 26 | |
| 27 | rm -rf ./simple-image/mtk-core-image-tiny-auto2735evb-ivt-main.squashfs |
| 28 | rm -rf ./simple-image/*.rootfs.squashfs |
| 29 | rm -rf ./simple-image/mtk-image-2735-auto2735evb-ivt-main.squashfs |
| 30 | |
| 31 | rm -rf ./simple-image/recovery.squashfs |
| 32 | rm -rf ./simple-image/system.squashfs |
| 33 | |
| 34 | rm -rf ./simple-image/userdata.ubi |
| 35 | rm -rf ./simple-image/userdata.ubifs |
| 36 | |
| 37 | rm -rf ./simple-image/target-files.zip |
| 38 | rm -rf ./simple-image/modules--* |
| 39 | rm -rf ./simple-image/modules-auto2735evb-ivt-main.tgz |
| 40 | |
| 41 | rm -rf ./simple-image/md1dsp_original.img |
| 42 | rm -rf ./simple-image/md1img_original.img |
| 43 | rm -rf ./simple-image/modem.img |
| 44 | rm -rf ./simple-image/system_unsparse.img |
| 45 | rm -rf ./simple-image/fitImage |