[Buildroot] [PATCH 19/23] Introduce BR2_TOOLCHAIN_USES_{UCLIBC, GLIBC}
Peter Korsgaard
jacmet at uclibc.org
Thu Jul 4 07:10:24 UTC 2013
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Thomas> Currently, when we need to do a conditional on the type of C library
Thomas> used, we need to take into account the three toolchain backends. As we
Thomas> are going to add eglibc support to the Buildroot toolchain backend, it
Thomas> would become even uglier, so this patch introduces two new hidden
Thomas> options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that
Thomas> exist regardless of the toolchain backend. The entire Buildroot code
Thomas> base is converted to use those options.
Thomas> Note that we have intentionally created only one option
Thomas> (BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are
Thomas> essentially the same, as far as Buildroot is concerned.
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list