Make mtoc path generic.

This commit is contained in:
jief 2020-04-20 08:26:50 +03:00
parent 2ec6b3f905
commit 05d49b78ab
2 changed files with 3 additions and 1 deletions

View File

@ -66,7 +66,8 @@ ld -arch x86_64 -u __ModuleEntryPoint -e __ModuleEntryPoint -preload -segalign
[[ $? == 0 ]] && "$edk2prefix"/../opt/local/bin/mtoc.NEW_jief -subsystem UEFI_APPLICATION -align 0x20 ./"$outputname".dll ./"$outputname".pecoff
source "$edk2prefix"/Conf/mtoc_path.txt
[[ $? == 0 ]] && "$MTOC" -subsystem UEFI_APPLICATION -align 0x20 ./"$outputname".dll ./"$outputname".pecoff
[[ $? == 0 ]] && dsymutil ./"$outputname".dll

View File

@ -499,6 +499,7 @@ MainBuildScript() {
set +u
source ./edksetup.sh BaseTools
set -u
echo "MTOC=$MTOC_PREFIX/mtoc.NEW_jief" > "$WORKSPACE"/Conf/mtoc_path.txt
cd "$CLOVERROOT"
# else
# echo "Building from: $WORKSPACE"