X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=UnixPkg%2Fbuild.sh;h=851e59fefa3085b0374a4f76168e4121add90c01;hb=969eba7b0df70c9aa261eaf005085568b88de87c;hp=64c9722b5104b14b64b46ecf25d09fc08b503c76;hpb=1096a48f726d176d58bde89b89c8eb4d00eb168e;p=mirror_edk2.git diff --git a/UnixPkg/build.sh b/UnixPkg/build.sh index 64c9722b51..851e59fefa 100755 --- a/UnixPkg/build.sh +++ b/UnixPkg/build.sh @@ -57,8 +57,13 @@ BUILD_ROOT_ARCH=$WORKSPACE/Build/Unix/DEBUG_"$TARGET_TOOLS"/IA32 if [[ ! -f `which build` || ! -f `which GenFv` ]]; then - # build the tools if they don't yet exist - echo Building tools + # build the tools if they don't yet exist. Bin scheme + echo Building tools as they are not in the path + make -C $WORKSPACE/BaseTools +elif [[ ( -f `which build` || -f `which GenFv` ) && ! -d $EDK_TOOLS_PATH/Source/C/bin ]]; +then + # build the tools if they don't yet exist. BinWrapper scheme + echo Building tools no $EDK_TOOLS_PATH/Source/C/bin directory make -C $WORKSPACE/BaseTools else echo using prebuilt tools