使用OpenWrt Snapshot源码编译lwz322/k3screenctrl使用的编译文件,在这里添加了luci-app-k3screenctrl的config文件/file/k3screenctrl
,具体的介绍可以参考上面的链接
因为配套的相关程序的更新,与其他作者的k3screenctrl以及luci-app不兼容
build k3screenctrl via OpenWrt Snapshot source and support luci-app-k3screenctrl
看了文档和官方的./targe/linux/image/Makefile以及coolsnowwolf/lede下的提交记录,官方文档有对DEPENDS的说明
Various types of dependencies can be specified, which require a bit of explanation for their differences. More documentation is available at Using Dependencies
Some typical config symbols for (conditional) dependencies are:
Note that the syntax above applies to the
DEPENDS
field only.
用官方代码的master,19.07.4,19.07.3,以及coolsnowwolf/lede测试了下
master | 19.07.4 | lean/lede | older | |
---|---|---|---|---|
image/Makefile | phicomm_k3 | phicomm-k3 | phicomm-k3 | phicomm-k3 |
menuconfig | bcm53xx引入subtarget | 引入subtarget | ||
k3screenctrl/Makefile | generic_DEVICE_phicomm_k3 | DEVICE_phicomm-k3 | generic_DEVICE_phicomm-k3 | DEVICE_phicomm-k3 |
考虑到用lede安装这个分支的k3screenctrl的人也挺多的,还是照顾兼容性吧,所以综合下上面几种情况写成
DEPENDS:=@(TARGET_bcm53xx_generic_DEVICE_phicomm_k3||TARGET_bcm53xx_generic_DEVICE_phicomm-k3||TARGET_bcm53xx_DEVICE_phicomm-k3)