mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-22 02:01:47 +01:00
Recreate Conf at every compilation.
This commit is contained in:
parent
15c1c82a6d
commit
79e69d1ec7
14
buildme
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user