diff mbox

[PATCHv3,11/20] toolchain: do not check largefile, wchar, IPv6 and locale for glibc toolchains

Message ID 1381256237-27948-12-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit 8e05ebca22c63b2bd1c0b09a8ead2a8250c105f5
Headers show

Commit Message

Thomas Petazzoni Oct. 8, 2013, 6:17 p.m. UTC
The check_glibc function contained checks to verify that the user had
properly enabled the largefile, IPv6, locale and wchar options, to
match how glibc is configured. This was useful when the support for
glibc external toolchains was introduced, but since then, we added the
BR2_TOOLCHAIN_USES_GLIBC symbol that automatically enables largefile,
IPv6, locale and wchar support when a glibc or eglibc external
toolchain is used. Therefore, many of the check_glibc checks are
useless now, so we can remove these.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/helpers.mk | 4 ----
 1 file changed, 4 deletions(-)

Comments

Peter Korsgaard Oct. 9, 2013, 1:25 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> The check_glibc function contained checks to verify that the user had
 Thomas> properly enabled the largefile, IPv6, locale and wchar options, to
 Thomas> match how glibc is configured. This was useful when the support for
 Thomas> glibc external toolchains was introduced, but since then, we added the
 Thomas> BR2_TOOLCHAIN_USES_GLIBC symbol that automatically enables largefile,
 Thomas> IPv6, locale and wchar support when a glibc or eglibc external
 Thomas> toolchain is used. Therefore, many of the check_glibc checks are
 Thomas> useless now, so we can remove these.

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

Committed, thanks.
diff mbox

Patch

diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index d9051ae..b530a02 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -206,11 +206,7 @@  check_glibc = \
 		echo "Incorrect selection of the C library"; \
 		exit -1; \
 	fi; \
-	$(call check_glibc_feature,BR2_LARGEFILE,Large file support) ;\
-	$(call check_glibc_feature,BR2_INET_IPV6,IPv6 support) ;\
-	$(call check_glibc_feature,BR2_ENABLE_LOCALE,Locale support) ;\
 	$(call check_glibc_feature,BR2_USE_MMU,MMU support) ;\
-	$(call check_glibc_feature,BR2_USE_WCHAR,Wide char support) ;\
 	$(call check_glibc_rpc_feature,$${SYSROOT_DIR})
 
 #