From aa24e9d913fc9385538ed6d493c094b33ef4d356 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 23 Jan 2017 14:37:18 -0800 Subject: 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 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 -- cgit v0.10.2-6-g49f6