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