From 79e69d1ec7cb8b19e262ad636de5cbffb8a88ba7 Mon Sep 17 00:00:00 2001 From: jief Date: Tue, 18 Feb 2020 09:02:44 +0300 Subject: [PATCH] Recreate Conf at every compilation. --- buildme | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/buildme b/buildme index 3ee06cbd5..a9ec43369 100755 --- a/buildme +++ b/buildme @@ -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