Add support for a RELASE build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9858 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
andrewfish
2010-01-28 23:45:38 +00:00
parent 4a1db20fac
commit 8c3f387b27
4 changed files with 23 additions and 17 deletions

View File

@@ -73,7 +73,15 @@ case `uname` in
;;
esac
BUILD_ROOT=$WORKSPACE/Build/BeagleBoard/DEBUG_"$TARGET_TOOLS"
TARGET=DEBUG
for arg in "$@"
do
if [[ $arg == RELEASE ]]; then
TARGET=RELEASE
fi
done
BUILD_ROOT=$WORKSPACE/Build/BeagleBoard/"$TARGET"_"$TARGET_TOOLS"
GENERATE_IMAGE=$WORKSPACE/BeagleBoardPkg/Tools/generate_image
FLASH_BOOT=$BUILD_ROOT/FV/BeagleBoard_EFI_flashboot.fd
@@ -89,7 +97,7 @@ fi
#
# Build the edk2 BeagleBoard code
#
build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS $1 $2 $3 $4 $5 $6 $7 $8
build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS -b $TARGET $1 $2 $3 $4 $5 $6 $7 $8
for arg in "$@"
do