User Tools

Site Tools


OpenWrt Buildroot – Installation on Mac OS X

If you test on other version of OS X or different release, add/edit below please!

These instructions worked on OS X 10.10.3, building trunk Rev. 45337 on 9.April.2015.

  1. Install Xcode or at least Xcode command line tools from the MacOSX App Store
  2. Add duplicates repository to homebrew for grep formulae:
    brew tap homebrew/dupes
  3. Install additional formulae:
    brew install coreutils findutils gawk gnu-getopt gnu-tar grep wget quilt
  4. gnu-getopt is keg-only, so force linking it:
    brew ln gnu-getopt --force
  5. To get rid of "date illegal option" you can add to your .bash_profile:
  6. Now proceed normally (git clone…)

These instructions worked for me on OS X 10.10, building 14.07

  1. Install prerequisites:
    pkgin install getopt coreutils gawk gtar findutils
  2. Now proceed normally (git clone…)

These instructions worked for me on OS X 10.9.5, building 14.07 branch "Barrier Breaker".

  1. Install prerequisites:
    brew install asciidoc binutils coreutils findutils gawk gettext gnu-getopt gnu-tar openssl xz
  2. BuildRoot expects 'getopt' to be GNU getopt, so symlink it into place:
    ln -s `brew --prefix gnu-getopt`/bin/getopt `brew --prefix`/bin/gnugetopt
  3. If you run into any additional steps required, please add them to this page!

Old Instructions

You can find old instructions on the Old OSX Instructions page.

doc/howto/buildroot.exigence.macosx.txt · Last modified: 2015/09/25 06:04 by richbhanover