Vishal Bhoj | 82c8071 | 2015-12-15 21:13:33 +0530 | [diff] [blame^] | 1 | echo |
| 2 | echo Run build cleanall... |
| 3 | echo |
| 4 | |
| 5 | echo |
| 6 | echo Directories to clean... |
| 7 | echo |
| 8 | |
| 9 | cd .. |
| 10 | |
| 11 | if [ -d "Build" ]; then |
| 12 | rm -r Build |
| 13 | fi |
| 14 | |
| 15 | if [ -d "Conf/.cache" ]; then |
| 16 | rm -r Conf/.cache |
| 17 | fi |
| 18 | |
| 19 | if [ -d "RomImages" ]; then |
| 20 | rm -r RomImages |
| 21 | fi |
| 22 | |
| 23 | echo |
| 24 | echo Files to clean... |
| 25 | echo |
| 26 | |
| 27 | if [ -e $(pwd)/EDK2.log ]; then |
| 28 | rm $(pwd)/EDK2.log |
| 29 | fi |
| 30 | |
| 31 | if [ -e $(pwd)/Unitool.log ]; then |
| 32 | rm $(pwd)/Unitool.log |
| 33 | fi |
| 34 | |
| 35 | if [ -e $(pwd)/Conf/target.txt ]; then |
| 36 | rm $(pwd)/Conf/target.txt |
| 37 | fi |
| 38 | |
| 39 | if [ -e $(pwd)/Conf/BiosId.env ]; then |
| 40 | rm $(pwd)/Conf/BiosId.env |
| 41 | fi |
| 42 | |
| 43 | if [ -e $(pwd)/Conf/tools_def.txt ]; then |
| 44 | rm $(pwd)/Conf/tools_def.txt |
| 45 | fi |
| 46 | |
| 47 | if [ -e $(pwd)/Conf/build_rule.txt ]; then |
| 48 | rm $(pwd)/Conf/build_rule.txt |
| 49 | fi |
| 50 | |
| 51 | if [ -e $(pwd)/Conf/BuildEnv.sh ]; then |
| 52 | rm $(pwd)/Conf/BuildEnv.sh |
| 53 | fi |
| 54 | |
| 55 | if [ -e $(pwd)/Vlv2TbltDevicePkg/AutoPlatformCFG.txt ]; then |
| 56 | rm $(pwd)/Vlv2TbltDevicePkg/AutoPlatformCFG.txt |
| 57 | fi |
| 58 | |
| 59 | echo |
| 60 | echo All done... |
| 61 | echo |