OpenCorePkg/macbuild.tool
2020-01-11 16:39:33 +03:00

24 lines
476 B
Bash
Executable File

#!/bin/bash
cd $(dirname "$0")
ARCHS=(X64 IA32)
SELFPKG=OcSupportPkg
DEPNAMES=('EfiPkg')
DEPURLS=('https://github.com/acidanthera/EfiPkg')
DEPBRANCHES=('master')
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/efibuild.sh) && eval "$src" || exit 1
UTILS=(
"AppleEfiSignTool"
"EfiResTool"
"readlabel"
"RsaTool"
)
cd Utilities || exit 1
for util in "${UTILS[@]}"; do
cd "$util" || exit 1
make || exit 1
cd - || exit 1
done