mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
Add support to gcc-bare-metal to support multiple architecture tuples with the BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_ARCH string. To do this, custom configure, build and install commands are needed, so that each step goes through a loop of the architecture tuples in the list. To keep consistency with autotools, all the relevant target configurations have been copied into the NEWLIB_BARE_METAL_CONF_OPTS while removing any configurations that do not apply to newlib. Also, the following configs were not taken because newlib is being built for each of the bare-metal targets and not the main target of Buildroot. $$(TARGET_CONFIGURE_OPTS) $$(TARGET_CONFIGURE_ARGS) --target=$$(GNU_TARGET_NAME) --host=$$(GNU_TARGET_NAME) Signed-off-by: Neal Frager <neal.frager@amd.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>