toolchain/toolchain-bare-metal-buildroot: wire up newlib-bare-metal

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Neal Frager 2024-01-31 11:22:17 +00:00 committed by Thomas Petazzoni
parent 3b95ff658b
commit e0e7a1d3d1
3 changed files with 4 additions and 1 deletions

View File

@ -927,6 +927,7 @@ comment "Bare metal toolchain"
config BR2_TOOLCHAIN_BARE_METAL_BUILDROOT
bool "Build a bare metal toolchain"
select BR2_PACKAGE_NEWLIB_BARE_METAL
help
Select if you need a bare-metal toolchain for building
platform specific firmware images.

View File

@ -6,4 +6,6 @@ config BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH
This option allows to define the architecture tuple for the
bare-metal toolchain.
source "package/newlib-bare-metal/Config.in"
endif # BR2_TOOLCHAIN_BARE_METAL_BUILDROOT

View File

@ -4,7 +4,7 @@
#
################################################################################
TOOLCHAIN_BARE_METAL_BUILDROOT_DEPENDENCIES =
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_SYSROOT = $(HOST_DIR)/$(TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH_TUPLE)/sysroot
TOOLCHAIN_BARE_METAL_BUILDROOT_ADD_TOOLCHAIN_DEPENDENCY = NO