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