YIO-Remote / remote-os

💎 Buildroot OS for YIO remote
GNU General Public License v3.0
13 stars 9 forks source link

Buildroot: use external cross-compilation toolchain #71

Closed zehnm closed 3 years ago

zehnm commented 3 years ago

Expected Behavior or Design

Use an official cross-compilation toolchain for shorter rebuilds.

Current Behavior or Design

Using an internal cross-compilation toolchain with gcc 9, which doesn't provide any benefits to the external Arm toolchain, just longer build times.

Possible Solution

Setting BR2_TOOLCHAIN_EXTERNAL=y

Detailed Description and Additional Information

https://buildroot.org/downloads/manual/manual.html#_cross_compilation_toolchain

zehnm commented 3 years ago

Closing: unfortunately there's no external cross-compilation toolchain available for RPi0 in Buildroot. This requires at least ARMv7, but the Pi zero is too old and uses BR2_arm1176jzf_s One could still use a self-built toolchain with Buildroot and then reuse that one for new builds. See Buildroot manual.