suebillt 发表于 2020-10-10 15:18:26

openwrt编译出错The present kernel configuration has modules disabled

在zynq上移植openwrt,修改了target/linux/zynq中的makefile文件以及config4.4
增加了自己使用的开发版名称等,config4.4改成xilinx的def_config
但是编译报错
The present kernel configuration has modules disabled
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
问题是make menuconfig中没有enable loadable选项
我用的openwrt 17.01,会不会这个版本有问题{:cry:}

Himem 发表于 2020-10-10 15:23:12

是直接在kernel里make了?
要在openwrt里写patch的

suebillt 发表于 2020-10-10 15:36:33

Himem 发表于 2020-10-10 15:23
是直接在kernel里make了?
要在openwrt里写patch的

下载好源码17.01后进行
./scripts/feeds update -a
./scripts/feeds install -a
然后make menuconfig
然后make -j8
编译成功了后修改的,下载的18.06没有zynq支持,19.04不能update -a成功
只有17.01能够make成功
修改后直接make了。。。

jordonwu 发表于 2020-10-10 22:18:43

suebillt 发表于 2020-10-10 15:36
下载好源码17.01后进行
./scripts/feeds update -a
./scripts/feeds install -a


zynq,上移植openwrt用途是干什么呢?

suebillt 发表于 2020-10-11 11:38:21

jordonwu 发表于 2020-10-10 22:18
zynq,上移植openwrt用途是干什么呢?

自组网关吧
页: [1]
查看完整版本: openwrt编译出错The present kernel configuration has modules disabled