diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-23 22:18:07 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-07-23 22:18:07 +0000 |
commit | 185969ed53d42fbcd912db69075adbcde938a1c8 (patch) | |
tree | 24ed2513a088f51db3bcd73c54a673feb56b3b4b /UnixPkg/build.sh | |
parent | 685f8c760077cb2fb11b74c5758a6d54aebf539f (diff) | |
download | edk2-185969ed53d42fbcd912db69075adbcde938a1c8.tar.gz edk2-185969ed53d42fbcd912db69075adbcde938a1c8.tar.bz2 edk2-185969ed53d42fbcd912db69075adbcde938a1c8.zip |
Add an option to build the GccShell. './build.sh shell' or './build64.sh' will buid the shell.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10688 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/build.sh')
-rwxr-xr-x | UnixPkg/build.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/UnixPkg/build.sh b/UnixPkg/build.sh index 077fb86b81..e3a208f9b4 100755 --- a/UnixPkg/build.sh +++ b/UnixPkg/build.sh @@ -91,6 +91,11 @@ do if [[ $arg == cleanall ]]; then make -C $WORKSPACE/BaseTools clean fi + + if [[ $arg == shell ]]; then + build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a IA32 -t $TARGET_TOOLS -n 3 $2 $3 $4 $5 $6 $7 $8 + exit $? + fi done @@ -99,8 +104,6 @@ done # echo $PATH echo `which build` -# Uncomment this if you want to build the shell. -#build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a IA32 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8 build -p $WORKSPACE/UnixPkg/UnixPkg.dsc -a IA32 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8 exit $? |