gpt4 book ai didi

linux - 交叉编译失败。没有规则制定 'modules install'

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:42:19 24 4
gpt4 key购买 nike

我正尝试在我的主机上为我的树莓派交叉编译一个 Linux 内核。像这样:http://mitchtech.net/raspberry-pi-kernel-compile/

我正在尝试运行这个命令:

make modules_install ARCH=arm \
CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- \
INSTALL_MOD_PATH=../modules/

但总是报错:

No rule to make target 'modules_install'. Stop.

为什么?我该如何解决?我应该在 menuconfig 中启用一些选项(我没有启用)吗?

最佳答案

尝试在/linux/文件夹下,然后执行命令。

关于linux - 交叉编译失败。没有规则制定 'modules install',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32154545/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com