mirror of https://github.com/acidanthera/audk.git
Fix bug in script for relase ROM
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9859 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8c3f387b27
commit
2cbf6d9c7f
|
@ -76,7 +76,8 @@ esac
|
||||||
TARGET=DEBUG
|
TARGET=DEBUG
|
||||||
for arg in "$@"
|
for arg in "$@"
|
||||||
do
|
do
|
||||||
if [[ $arg == RELEASE ]]; then
|
if [[ $arg == RELEASE ]];
|
||||||
|
then
|
||||||
TARGET=RELEASE
|
TARGET=RELEASE
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -97,7 +98,12 @@ fi
|
||||||
#
|
#
|
||||||
# Build the edk2 BeagleBoard code
|
# Build the edk2 BeagleBoard code
|
||||||
#
|
#
|
||||||
build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS -b $TARGET $1 $2 $3 $4 $5 $6 $7 $8
|
if [[ $TARGET == RELEASE ]]; then
|
||||||
|
build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS -b $1 $2 $3 $4 $5 $6 $7 $8
|
||||||
|
else
|
||||||
|
build -p $WORKSPACE/BeagleBoardPkg/BeagleBoardPkg.dsc -a ARM -t $TARGET_TOOLS -b $TARGET $1 $2 $3 $4 $5 $6 $7 $8
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
for arg in "$@"
|
for arg in "$@"
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue