diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-29 00:04:38 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-29 00:04:38 +0000 |
commit | 2cbf6d9c7fb0716b9f8c1a2923c946d7473cedef (patch) | |
tree | fb1e38cdf9bc931d0b65bd73713f8a21af9d6791 /BeagleBoardPkg | |
parent | 8c3f387b270896178378ae5302ffa383d25632d7 (diff) | |
download | edk2-platforms-2cbf6d9c7fb0716b9f8c1a2923c946d7473cedef.tar.xz |
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
Diffstat (limited to 'BeagleBoardPkg')
-rwxr-xr-x | BeagleBoardPkg/build.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/BeagleBoardPkg/build.sh b/BeagleBoardPkg/build.sh index 8eaa1dbdfd..d777fe31d0 100755 --- a/BeagleBoardPkg/build.sh +++ b/BeagleBoardPkg/build.sh @@ -76,7 +76,8 @@ esac TARGET=DEBUG for arg in "$@" do - if [[ $arg == RELEASE ]]; then + if [[ $arg == RELEASE ]]; + then TARGET=RELEASE fi done @@ -97,7 +98,12 @@ fi # # 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 "$@" do |