Bruce Cran d550b88184 Clean up GCC build.
Make the Unix Vlv2TbltDevicePkg scripts executable, add shebangs and skip the requirement to press a key when displaying usage text from Build_IFWI.sh.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bruce Cran <bruce.cran@gmail.com>
Reviewed-by: David Wei <david.wei@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16936 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-26 06:49:31 +00:00

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