用于 arm 内核 defconfig 的 buildroot [英] buildroot for arm kernel defconfig

查看:60
本文介绍了用于 arm 内核 defconfig 的 buildroot的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用内核映像构建 buildroot,在执行 make menuconfigmake 后,我得到:

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

我可以为 defconfig 设置一个字符串,但我不知道该放什么.

I can set a string to the defconfig, but I don't know what to put there.

我的目标系统是 AT91SAM9RL 板.

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.

推荐答案

你可以通过运行 make xxx_defconfig 来发出默认配置过程,并且 make target 是文件夹 arch/中的一个文件arm/configs/.这些默认配置并非旨在完全适合您的目标,而是旨在成为一个超集,因此您只需稍作修改即可.

You can issue the default configuration process by running make xxx_defconfig and that make target is a file in the folder arch/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.

make xxx_defconfig 创建您的初始 .config,您现在可以通过 make menuconfig 对其进行编辑并进行更改.之后,您可以运行 make,然后使用您的设置编译内核.

The make xxx_defconfig creates your initial .config, which you can now edit through make menuconfig and make your changes. After that, you can run make which will then compile the kernel using your settings.

这篇关于用于 arm 内核 defconfig 的 buildroot的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆