【发布时间】:2020-08-13 11:04:42
【问题描述】:
我正在尝试使用以下链接为 riscv64 编译 linux 内核 -
https://risc-v-getting-started-guide.readthedocs.io/en/latest/linux-qemu.html
在使用命令 make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu-defconfig 构建 linux 时 出现以下错误 - scripts/kconfig.include:35 编译器 riscv64-unknown-linux-gnu-gcc 在 PATH 中找不到 scripts/kconfig/Makefile:82:recipe for target 'defconfig' 失败
【问题讨论】:
-
你试过用包管理器安装qemu吗?完整安装带有 riscv-system-riscv32 和 64 个变体。