# and platform building, so just use a sh file to do post build commands.
# Originally, following post building command is for EfiLoader module.
#
-# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
#
##
-
-
+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 [ \
UNIXGCC)
export TOOLTAG=UNIXGCC
;;
- GCC44)
- export TOOLTAG=GCC44
+ GCC4*)
+ export TOOLTAG=$2
;;
*)
- echo Invalid tool tag, should be only UNIXGCC or GCC44
+ echo Invalid tool tag, should be only UNIXGCC or GCC4\*
return 1
esac