【OpenWRT】(LinkIt7688)添加一个 Hello World 软件



hello world 项目 - N/A

hello world project source code

n/a

helloworld.c - N/A

编译 helloworld 的 Makefile - n/a

for OpenWRT 的 Makefile - n/a



编译

$ make menuconfig

进入 Utilities > 选中 [*] hello world

$ mke package/utils/helloworld/compile V=99



安装 - N/A

$ ls bin/ramips/packages/base/ | grep hello
helloworld_1.0.0-1_ramips_24kec.ipk


Issue

makefile:xx: *** missing separator. Stop

注意 Makefile 中,属于“命令”部分的行需要使用 [Tab],是“字符串”的可以随意(使用两个空格开头)。



Reference



发布了164 篇原创文章 · 获赞 76 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/qq_29757283/article/details/98753427