Jump to content

STLVNUB

STLVNUB

Member Since 17 Jul 2007
Offline Last Active Private
*****

Posts I've Made

In Topic: New OS X compatible motherboard -> QUO

27 June 2016 - 02:22 AM

Best way to install IMHO, is to do it the Apple way. Run Install OS X El Capitan ( or whatever ).app

In Topic: Clover Bug/Issue Report and Patch

05 May 2016 - 03:47 AM

Try this, interesting results.

 

Build with GCC53,GCC49 errors, iso  don't work in VBox

Build with GCC48 ok, iso works in VBox

 

Use Same GCC for all three builds

In Topic: what are PMSR and PMIO devices in DSDT?

05 May 2016 - 03:42 AM

Try searching with cpu after said two...

In Topic: Clover Bug/Issue Report and Patch

04 May 2016 - 03:17 AM

The point is Minimal Changes...To tools_def.txt

In Topic: Clover Bug/Issue Report and Patch

04 May 2016 - 01:31 AM

My -2 cents worth ( and I have mentioned it before )

 
in tools_def.txt why not use what is already there.
e.g in:
 
edk2/BaseTools/Conf/tools_def.template
***
DEFINE GCC49_IA32_PREFIX       = ENV(GCC49_BIN)
DEFINE GCC49_X64_PREFIX        = ENV(GCC49_BIN)
 
DEFINE UNIX_IASL_BIN           = ENV(IASL_PREFIX)iasl
*_*_*_NASM_PATH                = ENV(NASM_PREFIX)nasm
*_*_*_MTOC_PATH                = /usr/local/bin/mtoc
***
 
current tools_def.txt
***
DEFINE GCC49_IA32_PREFIX       =  ENV(TOOLCHAIN_DIR)/cross/bin/x86_64-clover-linux-gnu-
DEFINE GCC49_X64_PREFIX        =  ENV(TOOLCHAIN_DIR)/cross/bin/x86_64-clover-linux-gnu-
 
DEFINE UNIX_IASL_BIN           = /usr/local/bin/iasl
 
*_*_*_NASM_PATH                = ENV(HOME)/src/opt/local/bin/nasm
*_*_*_MTOC_PATH                = /usr/local/bin/mtoc.NEW
***
 
So you need to define in ebuild.sh
 
***
export TOOLCHAIN_DIR="$HOME"/src/opt/local
export PREFIX="$TOOLCHAIN_DIR"
export NASM_PREFIX="$PREFIX"/bin/
export IASL_PREFIX="${PREFIX}"/bin/
***
 
You only will then need to:
edit edk2/BaseTools/Conf/tools_def.template for GCC
*_GCC49_*_MAKE_PATH                    = DEF(GCC49_IA32_PREFIX)make
to
*_GCC49_*_MAKE_PATH                    = make
 
You could also define a MTOC variable in the same way
DEFINE MTOC_BIN           = ENV(MTOC_PREFIX)nasm
 
and export it in ebuild.sh.
export MTOC_PREFIX="${PREFIX}"/bin/
 
Will make it a LOT easier to maintain....
 
© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy