mirror of https://github.com/acidanthera/audk.git
63 lines
918 B
Bash
Executable File
63 lines
918 B
Bash
Executable File
#!/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
|