toolchain/toolchain-external/toolchain-external-bootlin: finalize package addition
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 14 Aug 2020 19:52:34 +0000 (21:52 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 29 Aug 2020 13:47:39 +0000 (15:47 +0200)
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@bootlin.com>
Reviewed-by: Titouan Christophe <titouan.christophe@railnova.eu>
Tested-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
toolchain/toolchain-external/Config.in
toolchain/toolchain-external/toolchain-external-bootlin/Config.in [new file with mode: 0644]

index 128bea257e6a79c8143658c332cf87e3e4d675ac..c4fac32d24c16ebbc1cb4e06294421bfd951eef8 100644 (file)
@@ -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 (file)
index 0000000..6552da9
--- /dev/null
@@ -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