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