mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
Merge pull request #552 from stilor/uclibc-ng-for-buildroot
Restore uClibc-ng usability in buildroot
This commit is contained in:
commit
65e037b654
@ -89,3 +89,9 @@ config LIBC_UCLIBC_FENV
|
||||
|
||||
If you need fenv.h on other architectures, say 'y' here, but you may
|
||||
encounter some issues.
|
||||
|
||||
config LIBC_UCLIBC_RPC
|
||||
bool
|
||||
prompt "Add support for RPC"
|
||||
help
|
||||
Enable support for remote procedure calls (RPC) in uClibc.
|
||||
|
31
patches/uClibc-ng/1.0.20/110-has-lfs.patch
Normal file
31
patches/uClibc-ng/1.0.20/110-has-lfs.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 2a40d18badc4f0bff8c2e02507cd8d59cfeb3e7c Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Neyman <stilor@att.net>
|
||||
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 <stilor@att.net>
|
||||
---
|
||||
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
|
||||
|
31
patches/uClibc-ng/1.0.21/110-has-lfs.patch
Normal file
31
patches/uClibc-ng/1.0.21/110-has-lfs.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 2a40d18badc4f0bff8c2e02507cd8d59cfeb3e7c Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Neyman <stilor@att.net>
|
||||
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 <stilor@att.net>
|
||||
---
|
||||
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
|
||||
|
@ -299,6 +299,13 @@ manage_uClibc_config() {
|
||||
esac
|
||||
if [ "${CT_LIBC_UCLIBC_FENV}" = "y" ]; then
|
||||
CT_KconfigEnableOption "UCLIBC_HAS_FENV" "${dst}"
|
||||
else
|
||||
CT_KconfigDisableOption "UCLIBC_HAS_FENV" "${dst}"
|
||||
fi
|
||||
if [ "${CT_LIBC_UCLIBC_RPC}" = "y" ]; then
|
||||
CT_KconfigEnableOption "UCLIBC_HAS_RPC" "${dst}"
|
||||
else
|
||||
CT_KconfigDisableOption "UCLIBC_HAS_RPC" "${dst}"
|
||||
fi
|
||||
|
||||
# We always want ctor/dtor
|
||||
|
Loading…
Reference in New Issue
Block a user