buildroot for arm kernel defconfig

匿名 (未验证) 提交于 2019-12-03 08:52:47

问题:

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.

回答1:

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.

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.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!