扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
1. uClinux-dist/user/Makefile
dir_$(CONFIG_USER_HELLO_WORLD)
+= hello
2. uClinux-dist/config/Configure.help
CONFIG_USER_HELLO_WORLD
A simple hello world program
3. uClinux-dist/config/config.in
找到下面两行
mainmenu_option next_comment
comment 'Miscellaneous Applications'
添加如下一行
bool 'hello'
CONFIG_USER_HELLO_WORLD
4.1.uClinux-dist/user/hello/Makefile
|
4.2.uClinux-dist/user/hello/hello.c
|
5. 将用户程序编译进romfs
|
参考资料:
uClinux-dist/Documentation/Adding-User-Apps-HOWTO
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。