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