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
This commit is contained in:
andrewfish 2010-07-23 22:18:07 +00:00
parent 685f8c7600
commit 185969ed53
2 changed files with 11 additions and 4 deletions

View File

@ -91,6 +91,11 @@ do
if [[ $arg == cleanall ]]; then if [[ $arg == cleanall ]]; then
make -C $WORKSPACE/BaseTools clean make -C $WORKSPACE/BaseTools clean
fi 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 done
@ -99,8 +104,6 @@ done
# #
echo $PATH echo $PATH
echo `which build` 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 build -p $WORKSPACE/UnixPkg/UnixPkg.dsc -a IA32 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8
exit $? exit $?

View File

@ -91,6 +91,12 @@ do
if [[ $arg == cleanall ]]; then if [[ $arg == cleanall ]]; then
make -C $WORKSPACE/BaseTools clean make -C $WORKSPACE/BaseTools clean
fi 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 done
@ -99,8 +105,6 @@ done
# #
echo $PATH echo $PATH
echo `which build` 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 build -p $WORKSPACE/UnixPkg/UnixPkgX64.dsc -a X64 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8
exit $? exit $?