]> git.proxmox.com Git - mirror_edk2.git/commitdiff
DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if defined
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 16 Oct 2010 18:50:33 +0000 (18:50 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 16 Oct 2010 18:50:33 +0000 (18:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/PostBuild.sh

index 9d936e661f2e794733feb4f2d7738cb97cab24fe..c77c0f345542fc52b25ee04f92f158fc7756d303 100755 (executable)
 #
 ##
 
-
-
+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 [ \