ARM 内核 defconfig 的 buildroot
我正在尝试使用内核映像构建一个 buildroot,在执行 make menuconfig
和 make
后,我得到:
No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting
我可以将字符串设置为 defconfig,但我不知道该放什么。
我的目标系统是 AT91SAM9RL 板。
编辑:我发现某些设备有一些预制的配置文件,实际上与我的目标不完全匹配。
I am trying to build a buildroot with kernel image, and after doing make menuconfig
and make
, I am getting:
No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting
I can set a string to the defconfig
, but I don't know what to put there.
My target system is an AT91SAM9RL board.
edit: I found out there are some pre-made config files to some devices, actually not exactly matching to my target.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过运行 make xxx_defconfig 来发出默认配置过程,并且 make 目标是文件夹 arch/arm/configs/ 中的一个文件。这些默认配置并非旨在完全适合您的目标,而是旨在成为超集,因此您只需对它们进行一些修改即可。
make xxx_defconfig
创建您的初始.config
,您现在可以通过make menuconfig
对其进行编辑并进行更改。之后,您可以运行make
,它将使用您的设置编译内核。You can issue the default configuration process by running
make xxx_defconfig
and that make target is a file in the folderarch/arm/configs/
. These default configurations are not designed to exactly fit your target, but are rather meant to be a superset so you only have to modify them a bit.The
make xxx_defconfig
creates your initial.config
, which you can now edit throughmake menuconfig
and make your changes. After that, you can runmake
which will then compile the kernel using your settings.