Test build option for buildme

'test build (no autogen, no boot files)' used for a quick test for changes in the source code. It skip boot files and Version.h is not updated
This commit is contained in:
vectorsigma 2019-09-12 09:24:47 +02:00
parent f6fdf0197c
commit b6aadbd0db
1 changed files with 23 additions and 0 deletions

23
buildme
View File

@ -130,6 +130,24 @@ if [[ -x "${DIR_TOOLS}"/Scripts/postbuild.sh ]]; then
fi
}
buildCloverTest() {
checkTools
cd "${CLOVERROOT}"
if [[ -z "$WORKSPACE" ]]; then
export EDK_TOOLS_PATH="${PWD}"/BaseTools
set +u
source ./edksetup.sh BaseTools
set -u
cd "$CLOVERROOT"
WORKSPACE="${PWD}"
fi
echo "[BUILD CLOVER TEST]"
./ebuild.sh -nb -t $MYTOOLCHAIN
}
buildPkg() {
cd "${CLOVERROOT}"/CloverPackage
echo "[BUILD PKG]"
@ -186,6 +204,7 @@ options=( 'build Clover'
'make pkg'
'make iso'
'build all'
'test build (no autogen, no boot files)'
'status'
'update Clover'
'update Clover (reset changes)'
@ -215,6 +234,10 @@ do
buildIso
break
;;
"test build (no autogen, no boot files)")
buildCloverTest
break
;;
"update Clover")
updateClover
break