mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-23 17:57:45 +02:00
BaseTools/tools_def: Introduce MTOC_PREFIX environment variable
Most compiler toolchains and tools have support for PREFIX environment variables to specify their location, but Apple mtoc does not. While it used to be in a stable install location, it has recently been deprecated and ocmtoc is maintained as a fork. Homebrew has accepted ocmtoc into its repository, including its ARM version. As Homebrew on ARM does not install its packages into /usr/local, XCODE5 currently does not work on Apple silicon with ocmtoc installed via Homebrew. Introduce the MTOC_PREFIX environment variable to customize the installation location of Apple mtoc or ocmtoc. Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
This commit is contained in:
parent
85989f6bf7
commit
9f35d83d71
@ -2979,7 +2979,7 @@ NOOPT_CLANGDWARF_X64_DLINK2_FLAGS = DEF(CLANGDWARF_X64_DLINK2_FLAGS) -O0 -fu
|
||||
*_XCODE5_*_ASLPP_PATH = clang
|
||||
*_XCODE5_*_ASLDLINK_PATH = ld
|
||||
*_XCODE5_*_DSYMUTIL_PATH = /usr/bin/dsymutil
|
||||
*_XCODE5_*_MTOC_PATH = /usr/local/bin/mtoc
|
||||
*_XCODE5_*_MTOC_PATH = ENV(MTOC_PREFIX)mtoc
|
||||
*_XCODE5_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user