View Single Post
Old 11-24-2019, 06:38 PM   #1
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Compiling the Amazon toolchain?

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?
katadelos is offline   Reply With Quote