2015-02-26 07:49:31 +01:00
|
|
|
#!/usr/bin/env bash
|
2015-01-12 10:37:20 +01:00
|
|
|
echo
|
|
|
|
echo Run build cleanall...
|
|
|
|
echo
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo Directories to clean...
|
|
|
|
echo
|
|
|
|
|
2015-01-23 09:14:39 +01:00
|
|
|
cd ..
|
|
|
|
|
2015-01-12 10:37:20 +01:00
|
|
|
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
|