I've been trying to follow these instructions from TOOLCHAIN_BUILD_HOW-TO.txt in order to build a toolchain that is able to compile kernel modules for my firmware:
Quote:
Building the Toolchain
To build the toolchain, You need to setup a poky 1.8.1 environment
To setup environment:
Clone Poky 1.8.1 by following the instruction from https://www.yoctoproject.org/downloads/core/fido181
Execute the folling command to setup a environment
$ source poky/oe-init-build-env build
$ cd build
To build toolchain,execute the follwing command after setting up an environment
$ bitbake gcc-cross
|
The link to yoctoproject.org is dead but was archived by the Wayback Machine, which led me to a download link for poky-fido-13.0.1.tar.bz2. After decompressing the file, setting up an environment and running
bitbake gcc-cross, bitbake throws this error:
Quote:
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |########################################| Time: 00:01:05
Parsing of 884 .bb files complete (0 cached, 884 parsed). 1285 targets, 41 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'gcc-cross'. Close matches:
gcc-cross-i586
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
|
I tried
bitbake gcc-cross-i586, but this seems to target a different architecture completely and fails when attempting to compile automake. Has anyone been able to compile a toolchain using the provided instructions?