summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xDuetPkg/PostBuild.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/DuetPkg/PostBuild.sh b/DuetPkg/PostBuild.sh
index 9d936e661f..c77c0f3455 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 [ \