如下,安装内核头文件的时候输入命令:

make ARCH=i386 INSTALL_HDR_PATH=$SYSROOT/usr/headers_install

提示内容如下:

scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
如图:

输入

make ARCH=i386 INSTALL_HDR_PATH=$SYSROOT/usr/ headers_install

正确,headers_install前面有一个空格。




Logo

更多推荐