summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/cln.sh
blob: 3511695f6feeb29a4163c3ae3f3302b1e8894ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env bash
echo
echo Run build cleanall...
echo

echo
echo Directories to clean...
echo

cd ..

if [ -d "Build" ]; then
  rm -r Build
fi

if [ -d "Conf/.cache" ]; then
  rm -r Conf/.cache
fi

if [ -d "RomImages" ]; then
  rm -r RomImages
fi

echo
echo Files to clean...
echo

if [ -e $(pwd)/EDK2.log ]; then
  rm $(pwd)/EDK2.log
fi

if [ -e $(pwd)/Unitool.log ]; then
  rm $(pwd)/Unitool.log
fi

if [ -e $(pwd)/Conf/target.txt ]; then
  rm $(pwd)/Conf/target.txt
fi

if [ -e $(pwd)/Conf/BiosId.env ]; then
  rm $(pwd)/Conf/BiosId.env
fi

if [ -e $(pwd)/Conf/tools_def.txt ]; then
  rm $(pwd)/Conf/tools_def.txt
fi

if [ -e $(pwd)/Conf/build_rule.txt ]; then
  rm $(pwd)/Conf/build_rule.txt
fi

if [ -e $(pwd)/Conf/BuildEnv.sh ]; then
  rm $(pwd)/Conf/BuildEnv.sh
fi

if [ -e $(pwd)/Vlv2TbltDevicePkg/AutoPlatformCFG.txt ]; then
  rm $(pwd)/Vlv2TbltDevicePkg/AutoPlatformCFG.txt
fi

echo
echo All done...
echo