diff options
Diffstat (limited to 'UnixPkg')
-rwxr-xr-x | UnixPkg/build.sh | 7 | ||||
-rwxr-xr-x | UnixPkg/build64.sh | 8 |
2 files changed, 11 insertions, 4 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 $? diff --git a/UnixPkg/build64.sh b/UnixPkg/build64.sh index 90e2b7d025..f2a6927d57 100755 --- a/UnixPkg/build64.sh +++ b/UnixPkg/build64.sh @@ -91,6 +91,12 @@ do if [[ $arg == cleanall ]]; then make -C $WORKSPACE/BaseTools clean fi + if [[ $arg == shell ]]; then + build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a X64 -t $TARGET_TOOLS -n 3 $2 $3 $4 $5 $6 $7 $8 + exit $? + fi + + done @@ -99,8 +105,6 @@ done # echo $PATH echo `which build` -# Uncomment this if you want to build the shell. -build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a X64 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8 build -p $WORKSPACE/UnixPkg/UnixPkgX64.dsc -a X64 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8 exit $? |