mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
toolchain: add support for external toolchain profiles and download
Instead of letting the user define all the details of his external toolchain, we define a set of profiles for well-known external toolchains (CodeSourcery ones only at the moment, can easily be extended with other toolchains). Once a profile has been choosen, the user is offered the choice of either letting Buildroot download and install the external toolchain, or (as before) to tell Buildroot where the toolchain is installed on the system. We of course provide a "custom profile", through which the user can configure Buildroot to use a custom external toolchain for which no profile is available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
ac38fd3dc6
commit
6c492d5e7b
@@ -13,6 +13,10 @@ config BR2_TOOLCHAIN_BUILDROOT
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL
|
||||
bool "External toolchain"
|
||||
help
|
||||
Select if you want to use an existing cross-compiling
|
||||
toolchain. Buildroot can either download automatically a
|
||||
toolchain, or use an already installed toolchain.
|
||||
|
||||
config BR2_TOOLCHAIN_CTNG
|
||||
bool "Crosstool-NG toolchain"
|
||||
@@ -29,6 +33,5 @@ source "toolchain/toolchain-external/Config.in"
|
||||
source "toolchain/toolchain-crosstool-ng/Config.in"
|
||||
source "toolchain/toolchain-common.in"
|
||||
source "toolchain/toolchain-buildroot/Config.in.2"
|
||||
source "toolchain/toolchain-external/Config.in.2"
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user