Introduce BR2_TOOLCHAIN_USES_{UCLIBC, GLIBC}
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 30 Jun 2013 19:29:09 +0000 (21:29 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 4 Jul 2013 07:08:42 +0000 (09:08 +0200)
commit381616e77ae7610f8fe07b9e0eb193d613fb3bf7
tree515b70bd7c2d467ec903e0002f1766c17800b045
parent12d1aa4b69614f6499847758294f8a40f1611710
Introduce BR2_TOOLCHAIN_USES_{UCLIBC, GLIBC}

Currently, when we need to do a conditional on the type of C library
used, we need to take into account the three toolchain backends. As we
are going to add eglibc support to the Buildroot toolchain backend, it
would become even uglier, so this patch introduces two new hidden
options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that
exist regardless of the toolchain backend. The entire Buildroot code
base is converted to use those options.

Note that we have intentionally created only one option
(BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are
essentially the same, as far as Buildroot is concerned.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
24 files changed:
Makefile
package/Makefile.in
package/boost/boost.mk
package/elfutils/Config.in
package/elfutils/elfutils.mk
package/freescale-imx/gpu-viv-bin-mx6q/Config.in
package/gpsd/Config.in
package/gsl/gsl.mk
package/iozone/iozone.mk
package/libv4l/Config.in
package/ltp-testsuite/Config.in
package/mongrel2/Config.in
package/multimedia/gst-plugin-x170/Config.in
package/multimedia/on2-8170-libs/Config.in
package/nbd/nbd.mk
package/network-manager/network-manager.mk
package/nss-mdns/Config.in
package/php/php.mk
package/squid/squid.mk
package/tzdata/Config.in
toolchain/Config.in
toolchain/toolchain-common.in
toolchain/toolchain-crosstool-ng/Config.in
toolchain/toolchain-external/Config.in