1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| src-git packages https://github.com/openwrt/packages.git src-git luci http://git.openwrt.org/project/luci.git src-git routing https://github.com/openwrt-routing/packages.git src-git telephony http://git.openwrt.org/feed/telephony.git src-git management https://github.com/openwrt-management/packages.git src-git oldpackages http://git.openwrt.org/packages.git
|
1 2 3 4 5
| all: clean @echo "make start" .... clean: -rm -f log ${target}
|
1 2 3
| @ 使命令在被执行前不被回显 - make的时候,带`-`的命令行出错不会终止编译 + 使命令行可以通过指定 -n、-q 或 -t 选项来执行。
|
下载最新cmake源码tar包放到dl目录并计算md5
1 2 3 4 5 6 7 8 9
| cd openwrt cd tools/cmake mv patches temp vim Makefile
cd - make tools/cmake/compile V=s
|
编译glibc版的openwrt
1 2 3 4
| make menuconfig -> [*] Advanced configuration options (for developers) -> [*] Toolchain Options -> C Library implementation (Use glibc)
|