Skip to content

Instantly share code, notes, and snippets.

@Akagi201
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akagi201/9947696 to your computer and use it in GitHub Desktop.
Save Akagi201/9947696 to your computer and use it in GitHub Desktop.
  1. 大多数出错是因为网络问题, 下载超时导致的, 可以自己根据打印信息, 下载下载失败的软件包, 放到dl目录即可.
  2. 在后台进行编译,使用空闲的I/O资源和CPU性能,可使用(例如使用双核处理器) onice -c 3 nice -n 20 make -j 2
  3. 编译一个单独的软件包(例如在cups软件包): make package/cups/compile V=99
  4. 如果特殊原因需要分析编译报错信息: make V=99 2>&1 |tee build.log |grep -i error 说明:将编译的所有输出信息保存在build.log中,将error信息打印在屏幕上。
  5. 一个复杂指令的应用 $ ionice -c 3 nice -n 20 make -j 2 V=99 CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \|tee build.log |egrep -i '(warn|error)' 说明:将编译的所有输出信息保存在build.log中,将error和warning信息打印在屏幕上。编译过程使用双核CPU,占用后台资源。

OpenWrt overlay

OpenWrt Steps

  1. beginners' guide to openwrt http://wiki.openwrt.org/doc/howto/user.beginner
  2. Advanced User http://wiki.openwrt.org/doc/howto/user.advanced

Refs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment