一,把以下链接顺序看完,就可以对openwrt的makefile有初步认识,可以依葫芦画瓢,写出个简单的程序进行编译,生成目标文件。
创建一个自定义包(helloworld举例):https://my.oschina.net/hevakelcj/blog/410633
还有个helloworld包创建的样例,也可以参考下:https://blog.csdn.net/flyxiao28/article/details/80665308
自定义包的 Makefile规则用法(helloword举例):https://my.oschina.net/hevakelcj/blog/411942
自定义包的 Makefile中关键字的说明以及用法:https://blog.