Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Building rEFInd with EDKII on OS X

This repository contains EDKII build information files (DSC and DEC) for building rEFInd in the context of the EDKII. The author of rEFInd has provided a Makefile for building rEFInd using the GCC toolchain and the EDKII on Linux, but there are a number of ld and gcc options used that are incompatible with the Mac OS X toolchain. Rather than do the right thing and figure out what the appropriate options are, I've just dumped the rEFInd source into a new Package in the EDKII and added DSC and DEC files to get it to build on OS X.

This works for me on Mac OS X 10.7.4 with Xcode 4.4 and its command line tools.

Building

  1. Prepare and build your EDKII environment (outside of the scope of this document).

  2. Clone this repository into the root directory of the EDKII.

     $ cd /path/to/edk2
     $ git clone https://github.com/snarez/refind-edk2.git RefindPkg
    
  3. Download the latest version of the rEFInd source into the RefindPkg directory and unpack it.

     $ cd RefindPkg
     $ wget http://downloads.sourceforge.net/project/refind/0.4.5/refind-src-0.4.5.zip
     $ unzip refind-src-0.4.5.zip
    
  4. Create a symlink so that the path referred to in the DSC file makes sense.

     $ ln -s refind-0.4.5 refind
    
  5. Build the package.

     $ cd ..
     $ source edksetup.sh
     $ build -p RefindPkg/RefindPkg.dsc
    

About

rEFInd EDKII build stuff

Resources

Releases

No releases published

Packages

No packages published