mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
Sometimes the default GCC and newlib libraries built for a given architecture tuple are not based on the desired ABI. Since ABI definitions are different between architectures, the simplest solution is to allow users to build bare-metal toolchains with --enable-multilib. This way, the libraries for every available ABI will be built and users will be able to select the desired library for their user applications. This patch adds the option BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_MULTILIB to give users the choice to enable multilib, if desired. Please note that when using a string of architecture tuples, this option will apply to all architectures in the string, so it can significantly increase build time. Signed-off-by: Neal Frager <neal.frager@amd.com> Reviewed-by: Jesse Taube <Mr.Bossman075@gmail.com> Signed-off-by: Julien Olivain <ju.o@free.fr>