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:
@@ -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
|
||||
|
Reference in New Issue
Block a user