Hi,

Buildroot checks for UCLIBC_HAS_LFS feature macro, which was removed in 1.0.20 (making uClibc-ng always support large files).

Patch restores this symbol as "always-enabled".

Regards,
Alexey.

>From 2a40d18badc4f0bff8c2e02507cd8d59cfeb3e7c Mon Sep 17 00:00:00 2001
From: Alexey Neyman <[email protected]>
Date: Mon, 23 Jan 2017 14:21:54 -0800
Subject: [PATCH] Restore UCLIBC_HAS_LFS as "always enabled".

Otherwise, buildroot rejects uClibc-ng in an external toolchain.

Signed-off-by: Alexey Neyman <[email protected]>
---
 extra/Configs/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index a9d62f5..b2cf977 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -566,6 +566,11 @@ config UCLIBC_HAS_SYSLOG
 	  Support sending messages to the system logger.
 	  This requires socket-support.
 
+config UCLIBC_HAS_LFS
+	def_bool y
+	help
+	  Large file support (always enabled; config symbol retained for
+	  feature test to be compatible with uClibc).
 choice
 	prompt "Malloc Implementation"
 	default MALLOC if ! ARCH_USE_MMU
-- 
2.9.3

_______________________________________________
devel mailing list
[email protected]
http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel

Reply via email to