模块编译
openwrt 编译一般都是make V=s,编译整个固件。如果需要编译某个模块的话可以使用
make package/xxx/clean
make package/xxx/compile
make package/xxx/install
(XXX代表你的模块)。这样既方便又省时间。
编译luci-app应用
如果是luci应用,单独编译:
make package/feeds/luci/luci-app-xxx/clean
make package/feeds/luci/luci-app-xxx/compile
make package/install
make target/install
使用浏览器观察无变化时,请确定是否已清除浏览器缓存。
opkg应用
开发板安装pack
opkg install helloworld_1_ramips_24kec.ipk
查看已安装pack
opkg list_installed
删除pack
opkg remove helloworld_1_ramips_24kec.ipk
本文介绍了如何在OpenWRT环境中对特定模块进行编译,如使用makepackage/xxx/clean,makepackage/xxx/compile,makepackage/xxx/install命令来编译、清理和安装模块。对于luci-app应用,提供了单独编译的步骤,并强调了浏览器缓存可能影响显示效果。此外,还讲解了如何使用opkg来安装、查看和移除应用包,例如helloworld_1_ramips_24kec.ipk的安装与移除过程。
9917

被折叠的 条评论
为什么被折叠?



