openwrt中缺少/ lib / modules /`uname -r` / build dir

时间:2018-01-11 06:57:08

标签: linux-kernel openwrt

每当我尝试在openwrt(在构建的映像中表示)上安装新的内核模块来创建一个hello-world内核模块时,它就会抛出以下错误。 make [1]:**

make[1]: *** /lib/modules/3.13.0-27-generic/build: No such file or directory.  Stop.

Makefile:9:目标'默认'的配方失败 make:*** [默认]错误2

那么如何在我的设置中创建构建环境呢?

提前谢谢你。

0 个答案:

没有答案
相关问题