[Buildroot] [git commit branch/next] toolchain/toolchain-external/toolchain-external-bootlin: finalize package addition

Yann E. MORIN yann.morin.1998 at free.fr
Sat Aug 29 13:47:39 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=64b74b204e776e86e4f544e8c2ece003f66cbb4c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

This commit wires-up the toolchain-external-bootlin package into
Buildroot by:

 - Adding
   toolchain/toolchain-external/toolchain-external-bootlin/Config.in,
   which is not generated by the bl-toolchains-gen script as it is a
   static file that does not depend on the list and characteristics of
   available Bootlin toolchains.

 - Including that file, as well as the Config.in.options file, from
   toolchain/toolchain-external/Config.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Reviewed-by: Titouan Christophe <titouan.christophe at railnova.eu>
Tested-by: Titouan Christophe <titouan.christophe at railnova.eu>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 toolchain/toolchain-external/Config.in                           | 6 ++++++
 .../toolchain-external/toolchain-external-bootlin/Config.in      | 9 +++++++++
 2 files changed, 15 insertions(+)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 128bea257e..c4fac32d24 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -45,6 +45,9 @@ source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Conf
 # x86_64
 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in"
 
+# Bootlin toolchains, available for virtually all architectures
+source "toolchain/toolchain-external/toolchain-external-bootlin/Config.in"
+
 # Kept last, so it remains the non-default choice, unless there isn't
 # any available toolchain profile for the currently selected
 # architecture, but before toolchains from br2-external trees.
@@ -152,6 +155,9 @@ source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Conf
 # x86_64
 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options"
 
+# Bootlin toolchains
+source "toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options"
+
 # Custom toolchains
 source "toolchain/toolchain-external/toolchain-external-custom/Config.in.options"
 
diff --git a/toolchain/toolchain-external/toolchain-external-bootlin/Config.in b/toolchain/toolchain-external/toolchain-external-bootlin/Config.in
new file mode 100644
index 0000000000..6552da9a84
--- /dev/null
+++ b/toolchain/toolchain-external/toolchain-external-bootlin/Config.in
@@ -0,0 +1,9 @@
+config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN
+	bool "Bootlin toolchains"
+	depends on BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCH_SUPPORTS
+	depends on BR2_HOSTARCH = "x86_64"
+	help
+	  Bootlin toolchains are built using Buildroot for a large
+	  number of architectures and C libraries configurations.
+
+	  https://toolchains.bootlin.com


More information about the buildroot mailing list