最近拿到了一块 Tina R16 开发版,系统是基于 OpenWRT 的,记录一下编译过程

https://github.com/tinalinux/docs/blob/r16-v2.1.y/R16_Tina_Linux_Quick_Start.md

下载:
$ repo init -u https://github.com/tinalinux/manifest -b r16-v2.1.y -m r16/v2.1.y.xml
$ repo sync
$ repo start r16-v2.1.y --all

编译:
$ source build/envsetup.sh
$ lunch azalea_m2ultra-tina
$ make -j

编写代码:
Makefile 同 OpenWRT

编译软件包:
$ make package/(package_path)/compile