User Tools

Site Tools


doc:howto:buildroot.exigence.macosx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:howto:buildroot.exigence.macosx [2013/07/14 09:13]
lorema
doc:howto:buildroot.exigence.macosx [2015/04/09 17:04] (current)
embwir [OpenWrt Buildroot – Installation on Yosemite 10.10.3]
Line 1: Line 1:
 ====== OpenWrt Buildroot – Installation on Mac OS X ====== ====== OpenWrt Buildroot – Installation on Mac OS X ======
-| ->​[[doc:​howto:​buildroot.exigence|Procedure on Debian]] | ->​[[doc:​howto:​buildroot.exigence.bsd|Procedure on ~BSD]] |+| ->​[[doc:​howto:​buildroot.exigence|Procedure on Linux]] | 
 +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.  
 + 
 +  - Install Xcode or at least Xcode command line tools from the MacOSX App Store 
 +  - [[http://​brew.sh/​|Install brew]]. 
 +  - Add duplicates repository to homebrew for grep formulae: <code bash>brew tap homebrew/​dupes</​code>​ 
 +  - Install additional formulae: <code bash>​brew install coreutils findutils gawk gnu-getopt gnu-tar grep wget</​code>​ 
 +  - gnu-getopt is keg-only, so force linking it: <code bash>​brew ln gnu-getopt --force</​code>​ 
 +  - Now proceed normally (git clone...) 
 + 
 +---- 
 +These instructions worked for me on OS X 10.10, building 14.07 
 + 
 +  - [[http://​pkgsrc.org/​|Install pkgsrc]]. 
 +  - Install prerequisites:​ <code bash>​pkgin install getopt coreutils gawk gtar findutils</​code>​ 
 +  - Now proceed normally (git clone...) 
 + 
 +---- 
 + 
 +These instructions worked for [[sethml@ofb.net|me]] on OS X 10.9.5, building 14.07 branch "​Barrier Breaker"​.  
 + 
 +  - [[http://​brew.sh/​|Install brew]]. 
 +  - Install prerequisites:​ <code bash>​brew install asciidoc binutils coreutils findutils gawk gettext gnu-getopt gnu-tar openssl xz</​code>​ 
 +  - BuildRoot expects '​getopt'​ to be GNU getopt, so symlink it into place: <code bash>ln -s `brew --prefix gnu-getopt`/​bin/​getopt `brew --prefix`/​bin/​gnugetopt</​code>​ 
 +  - Follow the [[doc:​howto:​buildroot.exigence#​downloading_sources|Linux instructions starting with Downloading Sources]] 
 +  - If you run into any additional steps required, please add them to this page! 
 +===== Old Instructions ===== 
 +Here are a pile of old instructions. Perhaps they should be deleted.
  
 ---- ----
Line 16: Line 46:
   - <​code>​sudo port -v selfupdate</​code>​   - <​code>​sudo port -v selfupdate</​code>​
   - <​code>​sudo port install coreutils asciidoc bzip2 fastjar flex getopt gtk2 intltool jikes zlib openssl p5-extutils-makemaker \   - <​code>​sudo port install coreutils asciidoc bzip2 fastjar flex getopt gtk2 intltool jikes zlib openssl p5-extutils-makemaker \
-python26 rsync ruby sdcc unzip gettext libxslt bison gawk autoconf wget gmake ncurses e2fsprogs ossp-uuid gawk findutils</​code>​+python26 rsync ruby sdcc unzip gettext libxslt bison gawk autoconf wget gmake ncurses e2fsprogs ossp-uuid gawk findutils ​
 +gnutar bzr</​code>​
  
   - **Required for 64-bit OS X**: After checking out the source tree via svn above, we need to edit **trunk/​tools/​Makefile**   - **Required for 64-bit OS X**: After checking out the source tree via svn above, we need to edit **trunk/​tools/​Makefile**
Line 38: Line 69:
     * [[doc:​howto:​buildroot.exigence.macosx]]     * [[doc:​howto:​buildroot.exigence.macosx]]
     * [[doc:​howto:​buildroot.exigence.bsd]]     * [[doc:​howto:​buildroot.exigence.bsd]]
-    * [[doc:​howto:​buildroot.exigence.cygwin]] 
   - [[doc:​howto:​build|OpenWrt Buildroot – Usage]]   - [[doc:​howto:​build|OpenWrt Buildroot – Usage]]
   - [[doc:​devel:​feeds|OpenWrt Buildroot – Feeds]]   - [[doc:​devel:​feeds|OpenWrt Buildroot – Feeds]]
   - [[doc:​techref:​buildroot|OpenWrt Buildroot – Technical Reference]] {{:​meta:​icons:​tango:​48px-construction.svg.png?​nolink&​16}} this article needs //your// attention.   - [[doc:​techref:​buildroot|OpenWrt Buildroot – Technical Reference]] {{:​meta:​icons:​tango:​48px-construction.svg.png?​nolink&​16}} this article needs //your// attention.
- 
- 
doc/howto/buildroot.exigence.macosx.1373785989.txt.bz2 · Last modified: 2013/07/14 09:13 by lorema