summaryrefslogtreecommitdiff
path: root/DuetPkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-16 18:50:33 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-16 18:50:33 +0000
commit9046a2f9d318e6aeb62395b1e94af79d0465b6c7 (patch)
tree5b5b385a4136f3d7e147c358df3399d2ac00c6a1 /DuetPkg
parent0492698ac6f59ed5abcde7d1b4f52af4e8566d18 (diff)
downloadedk2-9046a2f9d318e6aeb62395b1e94af79d0465b6c7.zip
edk2-9046a2f9d318e6aeb62395b1e94af79d0465b6c7.tar.gz
edk2-9046a2f9d318e6aeb62395b1e94af79d0465b6c7.tar.bz2
DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if defined
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg')
-rwxr-xr-xDuetPkg/PostBuild.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/DuetPkg/PostBuild.sh b/DuetPkg/PostBuild.sh
index 9d936e6..c77c0f3 100755
--- a/DuetPkg/PostBuild.sh
+++ b/DuetPkg/PostBuild.sh
@@ -17,9 +17,13 @@
#
##
-
-
+if [ -z "$EDK_TOOLS_PATH" ]
+then
export BASETOOLS_DIR=$WORKSPACE/Conf/BaseToolsSource/Source/C/bin
+else
+export BASETOOLS_DIR=$EDK_TOOLS_PATH/Source/C/bin
+fi
+
export BOOTSECTOR_BIN_DIR=$WORKSPACE/DuetPkg/BootSector/bin
export PROCESSOR=""
if [ \