[Buildroot] [PATCHv3 08/20] toolchain-external: conditionalize the installation of libraries

Peter Korsgaard jacmet at uclibc.org
Wed Oct 9 13:21:26 UTC 2013


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> The external toolchain code makes the assumption that all C libraries
 Thomas> have a ld*.so, libc.so, libcrypt.so, libdl.so, libgcc_s.so, libm.so,
 Thomas> libnsl.so, libresolv.so, libutil.so, and when thread support is
 Thomas> enabled, libpthread.so, etc.

 Thomas> However, this is not the case with the musl C library, which
 Thomas> integrates all the functionalities in a single libc.so file. In
 Thomas> preparation of the support of the musl library, we make the current
 Thomas> value of LIB_EXTERNAL_LIBS conditional to glibc or uClibc.

 Thomas> The addition of additional libraries through
 Thomas> BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS is kept outside the condition, at
 Thomas> the end.

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list