summaryrefslogtreecommitdiff
path: root/UnixPkg/build.sh
diff options
context:
space:
mode:
authorajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-08 01:55:00 +0000
committerajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-08 01:55:00 +0000
commitb395a08d05526a305a0c3cc4a07ecf10ff872fd5 (patch)
treee6270a387600afa50517a17131939e00120d195a /UnixPkg/build.sh
parentecd3d59f3341b74c649ad90b80272f1a57e92ad9 (diff)
downloadedk2-platforms-b395a08d05526a305a0c3cc4a07ecf10ff872fd5.tar.xz
Fix the UnixPkg default to have the tools come from a seperate BaseTools project. When the fixes are checked into edk2 we can move it back to pointing to tools in edk2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9538 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/build.sh')
-rwxr-xr-xUnixPkg/build.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/UnixPkg/build.sh b/UnixPkg/build.sh
index 2770019a1f..16da8d0515 100755
--- a/UnixPkg/build.sh
+++ b/UnixPkg/build.sh
@@ -22,7 +22,11 @@ if [ -z "$WORKSPACE" ]
then
echo Initializing workspace
cd ..
- export EDK_TOOLS_PATH=`pwd`/BaseTools
+# This version is for the tools in the BaseTools project.
+# this assumes svn pulls have the same root dir
+ export EDK_TOOLS_PATH=`pwd`/../BaseTools
+# This version is for the tools source in edk2
+# export EDK_TOOLS_PATH=`pwd`/BaseTools
echo $EDK_TOOLS_PATH
source edksetup.sh BaseTools
else
@@ -90,7 +94,8 @@ done
#
echo $PATH
echo `which build`
-build -p $WORKSPACE/EdkShellPkg/EdkShellPkg.dsc -a IA32 -t $TARGET_TOOLS $1 $2 $3 $4 $5 $6 $7 $8
+# Uncomment this if you want to build the shell.
+#build -p $WORKSPACE/EdkShellPkg/EdkShellPkg.dsc -a IA32 -t $TARGET_TOOLS $1 $2 $3 $4 $5 $6 $7 $8
build -p $WORKSPACE/UnixPkg/UnixPkg.dsc -a IA32 -t $TARGET_TOOLS $1 $2 $3 $4 $5 $6 $7 $8
exit $?