Using External Toolchain
Option 1: Give tarball URL
Specify URL for the tarball in BR_TOOLCHAIN_EXTERNAL_URL
Example:
BR_TOOLCHAIN_EXTERNAL_URL=http://192.168.101.52:8082/artifactory/toolchain.tar.xz
In this case you will have to deselect
BR2_PRIMARY_SITE_ONLY
option
Option 2: Give tarball relative dl path
If BR2_PRIMARY_SITE_ONLY
option is selected then you have to keep the toolchain inside dl/toolchain-external-custom/
directory and pass the name of tarball to BR_TOOLCHAIN_EXTERNAL_URL
Example:
BR2_PRIMARY_SITE="http://192.168.101.52:8082/artifactory/dl"
BR2_PRIMARY_SITE_ONLY=y
BR_TOOLCHAIN_EXTERNAL_URL=nvrx-rk3588-toolcahin.tar.xz
This will extract the toolchain to buildroot’s build directory output/host/opt/ext-toolchain