toolchain/toolchain-bare-metal-buildroot: update help text for multiple tuple support

Now that binutils-bare-metal, gcc-bare-metal and newlib-bare-metal packages
have been upgraded to support a list of architecture tuples, this patch
updates the toolchain-bare-metal-buildroot help text to describe the new
capability.

BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH is still backwards compatible with
its prior definition as defining a single tuple with this new definition
works exactly the same as before.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Neal Frager
2025-02-17 12:49:31 +00:00
committed by Arnout Vandecappelle
parent 28ae74a134
commit 02b9d987c4
3 changed files with 10 additions and 5 deletions

View File

@@ -941,7 +941,7 @@ config BR2_TOOLCHAIN_HAS_LIBQUADMATH
comment "Bare metal toolchain" comment "Bare metal toolchain"
config BR2_TOOLCHAIN_BARE_METAL_BUILDROOT config BR2_TOOLCHAIN_BARE_METAL_BUILDROOT
bool "Build a bare metal toolchain" bool "Build bare metal toolchains"
select BR2_PACKAGE_NEWLIB_BARE_METAL select BR2_PACKAGE_NEWLIB_BARE_METAL
help help
Select if you need a bare-metal toolchain for building Select if you need a bare-metal toolchain for building

View File

@@ -1,10 +1,16 @@
if BR2_TOOLCHAIN_BARE_METAL_BUILDROOT if BR2_TOOLCHAIN_BARE_METAL_BUILDROOT
config BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH config BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH
string "architecture tuple" string "list of architecture tuples"
help help
This option allows to define the architecture tuple for the This option allows to define the list of architecture
bare-metal toolchain. tuples for which bare-metal toolchains will be created.
One toolchain will be built for each of the architecture
tuples specified in this option.
For example, to build both a Microblaze and a RISC-V bare
metal toolchain, use the following definition:
"microblazeel-xilinx-elf riscv32-buldroot-elf"
source "package/newlib-bare-metal/Config.in" source "package/newlib-bare-metal/Config.in"

View File

@@ -6,7 +6,6 @@
TOOLCHAIN_BARE_METAL_BUILDROOT_DEPENDENCIES = newlib-bare-metal TOOLCHAIN_BARE_METAL_BUILDROOT_DEPENDENCIES = newlib-bare-metal
TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH_TUPLE = $(call qstrip,$(BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH)) TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH_TUPLE = $(call qstrip,$(BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH))
TOOLCHAIN_BARE_METAL_BUILDROOT_SYSROOT = $(HOST_DIR)/$(TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH_TUPLE)/sysroot
TOOLCHAIN_BARE_METAL_BUILDROOT_ADD_TOOLCHAIN_DEPENDENCY = NO TOOLCHAIN_BARE_METAL_BUILDROOT_ADD_TOOLCHAIN_DEPENDENCY = NO
$(eval $(virtual-package)) $(eval $(virtual-package))