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>
This commit is contained in:
Alexey Neyman 2017-01-23 14:37:18 -08:00
parent 30dc7e94c9
commit aa24e9d913
2 changed files with 13 additions and 0 deletions

View File

@ -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.

View File

@ -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