Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildroot: Add the missing "BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y" #359

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 1, 2023

  1. buildroot: Add the missing "BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y"

    If "BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y" does not exist in the config, this
    will cause toolchain prefix to be overwritten. Then the build will use
    Bootlin toolchain, which is downloaded as part of the build.
    
    Before:
    
    $ grep ^BR2_TOOLCHAIN_EXTERNAL build/buildroot.build/.config
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
    BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
    BR2_TOOLCHAIN_EXTERNAL_GLIBC=y
    BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
    BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCH_SUPPORTS=y
    BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_BLEEDING_EDGE=y
    
    After:
    
    $ grep ^BR2_TOOLCHAIN_EXTERNAL build/buildroot.build/.config
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
    BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y
    BR2_TOOLCHAIN_EXTERNAL_PATH="$(RISCV)"
    BR2_TOOLCHAIN_EXTERNAL_GLIBC=y
    BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-unknown-linux-gnu"
    BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCH_SUPPORTS=y
    BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="$(ARCH)-unknown-linux-gnu"
    BR2_TOOLCHAIN_EXTERNAL_GCC_10=y
    BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0=y
    BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
    BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
    BR2_TOOLCHAIN_EXTERNAL_HAS_SSP_STRONG=y
    BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
    BR2_TOOLCHAIN_EXTERNAL_CXX=y
    
    Signed-off-by: Jarkko Sakkinen <[email protected]>
    Jarkko Sakkinen committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    ea4ab0c View commit details
    Browse the repository at this point in the history