修改prereq-build.mk文件: 输入命令 vi include/prereq-build.mk 然后注释这句代码 [ "$$(shell whoami)" != "root" ] 然后执行make menuconfig即可。