zoukankan      html  css  js  c++  java
  • 编译 Linux 内核 时出现 Restart config 问题

    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

    出现以上问题时,一般是配置内核时,没有指定好架构和编译器。

    解决方法:

      在配置内核时, 指定好对应的架构和编译器, 在配置完成以后save。

      在编译内核时,指定好配置时指定的架构和编译器,make 对应的镜像即可。

    范例:

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

    编译时:
    make ARCH=arm CROSS_COMPILE=arm-hisiv500-linux- uImage -j4
  • 相关阅读:
    虚拟机网络配置常见问题总结
    Python
    Python
    Python
    Python
    Python
    Python
    MySQL
    MySQL
    MySQL
  • 原文地址:https://www.cnblogs.com/schips/p/11653027.html
Copyright © 2011-2022 走看看