Removed Java/Ant specific content from the setup scripts.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7169 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch
2008-12-31 16:57:24 +00:00
parent 808def96aa
commit 3a6b4559e5
2 changed files with 24 additions and 297 deletions

View File

@@ -22,38 +22,18 @@ if [ \
"$1" = "--help" \
]
then
echo BaseTools Usage: \'. edksetup.sh BaseTools\'
echo Ant Tools Usage: \'. edksetup.sh [AntBuild \| ForceRebuild]\'
echo BaseTools Usage: \'. edksetup.sh\'
echo
echo Please note: This script must be \'sourced\' so the environment can be changed.
echo \(Either \'. edksetup.sh\' or \'source edksetup.sh\'\)
return
fi
if [ "$1" = BaseTools ]
if [ -z "$WORKSPACE" ]
then
if [ -z "$WORKSPACE" ]
then
. BaseTools/BuildEnv $*
else
. $WORKSPACE/BaseTools/BuildEnv $*
fi
. BaseTools/BuildEnv $*
else
if [ "$1" = AntBuild -o "$1" = ForceRebuild ]
then
if [ -z "$WORKSPACE" ]
then
if [ "$1" = AntBuild ]
then
shift
fi
. Tools/OldBuildEnv $*
else
. $WORKSPACE/Tools/OldBuildEnv $*
fi
else
echo Please run \'. edksetup.sh --help\' for help.
fi
. $WORKSPACE/BaseTools/BuildEnv $*
fi