Restart config problems when compiling the Linux kernel

scripts/kconfig/conf --silentoldconfig Kconfig
*
* Restart config...
*
*
* Enable the block layer
*
Enable the block layer (BLOCK) [Y/?] y
  Support for large (2TB+) block devices and files (LBDAF) [Y/n/?] (NEW) ^Cscripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Interrupt
Makefile:541: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Interrupt

 

When the above problems, usually when configuring the kernel, do not specify a good architecture and compiler.

Solution:

  When configuring the kernel, corresponding to the designated good architecture and compiler, save after configuration is complete.

  When compiling the kernel, specify the configuration specified when good architecture and compiler, make a corresponding image can be.

 

example:

 
 
配置时:
make
ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- menuconfig

编译时:
make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- uImage -j4

 

Guess you like

Origin www.cnblogs.com/schips/p/11653027.html