說明openwrt如何取得來/建立/產生imag
OpenWRT即為Open Wireless Router的build code Framework
更新記錄
item | note |
---|---|
20160114 | 第一版 |
目錄
OpenWRT
source code 來源
- OpenWrt Wiki: wiki.openwrt.org
- git source: git.openwrt.org
- GetSource: dev.openwrt.org/wiki/GetSource
- release 版本如下
Stable | Release Data |
---|---|
Chaos Calmer 15.05 | 2015 September |
Barrier Breaker 14.07 | 2014 October |
build system">build system
openwrt build system 包含了Makefile及patch ,讓使用者基於cross copmile方便建立toolchain及root filesystem
toolchain is the set of tools used to compile code for your system
- gcc
- binary utils like assembler and linker (binutils)
- C Standard library (uClibc)
以在PC(X86)產生TI ARM 板子toolchain而言
- 由toolchan source在x86上面跑,產生x86 arm-gcc (此為corss-compile toolchain,用來compile ti arm板子上面的程式)
如何build openwrt
參考來源:OpenWrt 建置 – 使用方法
- 先下載git
1 | git clone git://git.openwrt.org/15.05/openwrt.git |
- 更新內部的package
1 | cd openwrt |
- make
1 | make menuconfig |
記錄如下
1 | make[3] -C package/libs/ncurses host-compile |
其它說明
- feeds.conf.deafult
1 | $ cat feeds.conf.default |