我已经使用crosstool-NG
. Crosstool-NG
自动从 kernel.org 下载所需的源代码来编译工具链。现在我想为Linux
系统编译一个发行版,并认为使用buildroot
将是最简单的方法。所以我配置buildroot
为使用我现有的交叉工具链,但在执行时make
,它抱怨:
>>> toolchain-external Configuring
Incorrect selection of kernel headers: expected 2.6.x, got 4.3.x
无论如何我可以将buildroot与这个工具链一起使用,还是我需要等到buildroot
赶上他们的内核版本?
EDIT1
在选择内核 hheaders 4.3.x 时,我收到了这个错误:
>>> toolchain-external Configuring
Incorrect selection of gcc version: expected 4.3.x, got 5.2.0
并且让我选择的最高版本号 menuconfig 是4.8.x