Skip to content

Commit

Permalink
Make mtoc path generic.
Browse files Browse the repository at this point in the history
  • Loading branch information
jief committed Apr 20, 2020
1 parent 2ec6b3f commit 05d49b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Xcode/CloverX64/clang-slink
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions ebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

1 comment on commit 05d49b7

@SergeySlice
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./ebuild.sh: line 502: MTOC_PREFIX: unbound variable

Please sign in to comment.