(1)http://www.voidcn.com/article/p-opfdcfpi-cc.html
(2)https://forum.archive.openwrt.org/viewtopic.php?id=20353
在openwrt根目录openwrt/package/目录下新增自定义的测试软件包my_test,并在openwrt/package/my_test/文件夹下创建makefile和源代码文件夹src。
写好源码,写好源码makefile以及openwrt的makefile后,编译make时,提示如下错误:
在网上搜索问题答案,发现是my_test文件夹下的makefile文件有问题,多了空格,去掉makefile文件每一行后面的空格后,保存,重新编译就成功了。