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.
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.
来源:https://stackoverflow.com/questions/4332879/buildroot-for-arm-kernel-defconfig