openwrt编译错误Download/default is missing the SUBDIR field

openwrt编译错误Download/default is missing the SUBDIR field

make[2]: Entering directory /home/jack/persiancat-10G/persiancat/package/persiancat/rtty'
Makefile:48: *** Download/default is missing the SUBDIR field.. Stop.
make[2]: Leaving directory
/home/jack/persiancat-10G/persiancat/package/persiancat/rtty’
make[1]: *** [package/persiancat/rtty/compile] Error 2
make[1]: Leaving directory `/home/jack/persiancat-10G/persiancat’
make: *** [package/persiancat/rtty/compile] Error 2

错误原因

openwrt下载脚本不知道下载后的文件要解压缩到什么文件夹中,也就是SUBDIR

解决方法

修改软件包的makefile,添加如下参数

解决。。。

发表评论

电子邮件地址不会被公开。 必填项已用*标注