Recreate Conf at every compilation.

This commit is contained in:
jief 2020-02-18 09:02:44 +03:00
parent 15c1c82a6d
commit 79e69d1ec7

14
buildme
View File

@ -132,17 +132,11 @@ fi
buildClover() {
checkTools
cd "${CLOVERROOT}"
mkdir -p Conf
if [[ -f "${CLOVERROOT}"/Conf/tools_def.txt ]]; then
if ! grep -q mtoc.NEW_jief "${CLOVERROOT}"/Conf/tools_def.txt; then
rm -f "${CLOVERROOT}"/Conf/*
rm -rf "${CLOVERROOT}"/Build/*
cleanBaseTools
fi
fi
cd "${CLOVERROOT}"
# to force recreation of the Conf folder. You can sill use a custom CONF_PATH if you don't want recreation.
rm -rf "$CLOVERROOT"/Conf
mkdir "$CLOVERROOT"/Conf
cd "${CLOVERROOT}"
if [[ -z "$WORKSPACE" ]]; then
export EDK_TOOLS_PATH="${PWD}"/BaseTools
set +u