summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-23 22:37:18 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-23 22:37:18 (GMT)
commitaa24e9d913fc9385538ed6d493c094b33ef4d356 (patch)
tree819c819c9cedf77738ee0411a27d83071d958a3e
parent30dc7e94c998a4977e06bdf9e500b6e7fcabfaf8 (diff)
Add selection for RPC
So that uClibc config can be matched to Buildroot's expectations via the menu, without the need for a saved config. Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r--config/libc/uClibc.in.26
-rw-r--r--scripts/build/libc/uClibc.sh7
2 files changed, 13 insertions, 0 deletions
diff --git a/config/libc/uClibc.in.2 b/config/libc/uClibc.in.2
index dc02420..7ac8a44 100644
--- a/config/libc/uClibc.in.2
+++ b/config/libc/uClibc.in.2
@@ -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.
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index d86ae1a..e58912c 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -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