Created
September 6, 2012 04:41
-
-
Save simpx/3651314 to your computer and use it in GitHub Desktop.
openwrt 交叉编译 on Macos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 安装 homebrew | |
2. 使用磁盘工具,分出5G空间并挂载(日志式,区分大小写) | |
3. brew install coreutils gawk wget findutils gnu-getopt | |
3.1 macos中自带的getopt不兼容,需要手动将brew目录中的gnu-getopt link到/usr/bin中 | |
4. 在trunk目录中执行make prereq,brew install安装依赖 |
3.1: It had better be linked to /usr/local/bin/getopt, and add /usr/local/bin to the PATH env before /usr/bin
e.g., export PATH=/usr/local/bin:$PATH in bash
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
感谢,3.1帮了大忙,原来是不兼容的问题。