]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
Rename BR2_INET_RPC to BR2_TOOLCHAIN_HAS_NATIVE_RPC
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 3 Nov 2012 17:47:49 +0000 (18:47 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 4 Nov 2012 00:14:48 +0000 (01:14 +0100)
The BR2_INET_RPC has for a long time been a not very descriptive
configuration option name, and with the advent of non-RPC glibc
toolchains and the apparition of libtirpc, we really need to rename it
to something more sensible, BR2_TOOLCHAIN_HAS_NATIVE_RPC.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 files changed:
package/lmbench/Config.in
package/netkitbase/Config.in
package/netkittelnet/Config.in
package/nfs-utils/Config.in
package/portmap/Config.in
package/quota/Config.in
package/samba/samba.mk
package/xinetd/xinetd.mk
toolchain/helpers.mk
toolchain/toolchain-buildroot/Config.in.2
toolchain/toolchain-common.in
toolchain/toolchain-crosstool-ng/Config.in
toolchain/toolchain-external/Config.in
toolchain/toolchain-external/ext-tool.mk

index c8423d1eff1be801631c17bc3198140e7f29fbba..70449b63b22cffa19e8bae4d33b7ba1b11d2d6de 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_LMBENCH
        bool "lmbench"
        # Uses pmap_set, pmap__unset, pmap_getport, etc.
-       depends on BR2_INET_RPC
+       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
        help
          LMbench is a suite of simple, portable,
          ANSI/C microbenchmarks for UNIX/POSIX.
@@ -9,4 +9,4 @@ config BR2_PACKAGE_LMBENCH
          http://sourceforge.net/projects/lmbench/
 
 comment "lmbench requires a toolchain with RPC support"
-       depends on !BR2_INET_RPC
+       depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
index 725e500ace665add60785a8c56de6476307f9eda..75bd72836607caa845790c0277efc4396410400d 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_NETKITBASE
        bool "netkitbase"
-       depends on BR2_INET_RPC
+       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
        help
          Old-style inetd.
 
          ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
 
 comment "netkitbase requires a toolchain with RPC support"
-        depends on !BR2_INET_RPC
+        depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
index 058d2107cfdb12f347595cbf293b244eeeb41fec..10eb022dfbbde64a9c56407f45c3299796adb2de 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_NETKITTELNET
        bool "netkittelnet"
-       depends on BR2_INET_RPC
+       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_PACKAGE_NETKITBASE
        help
          Standard Linux telnet client and server.
@@ -8,4 +8,4 @@ config BR2_PACKAGE_NETKITTELNET
          ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/
 
 comment "netkittelnet requires a toolchain with RPC support"
-       depends on !BR2_INET_RPC
+       depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
index 67d25a73dd968c2eca7c50537e1a196b16025065..c87502f9749cdbc2e039d753d663022ff383aa90 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_NFS_UTILS
        bool "nfs-utils"
-       depends on BR2_INET_RPC
+       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
        depends on BR2_LARGEFILE
        select BR2_PACKAGE_PORTMAP
        help
@@ -11,7 +11,7 @@ config BR2_PACKAGE_NFS_UTILS
          http://sourceforge.net/projects/nfs
 
 comment "nfs-utils requires a toolchain with RPC and LARGEFILE support"
-       depends on !BR2_INET_RPC || !BR2_LARGEFILE
+       depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC || !BR2_LARGEFILE
 
 menu "NFS utilities selection"
        depends on BR2_PACKAGE_NFS_UTILS
index 5914357f2bf208259dba95d481754ee3bb873e06..f017cb6081fd3f761c8ffc3e410387589b6bd5d4 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_PORTMAP
        bool "portmap"
-       depends on BR2_INET_RPC
+       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
        help
          The standard portmapper for RPC services.
 
          http://neil.brown.name/portmap/
 
 comment "portmap requires a toolchain with RPC support"
-       depends on !BR2_INET_RPC
+       depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
index 3ad0b8cee36761621d1f00751fe98a65087b855d..a26f91fc7d470ab0dfe6bd9ec394fc855caa7d6d 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_QUOTA
        bool "quota"
-       depends on BR2_INET_RPC
+       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
        depends on BR2_LARGEFILE
        depends on BR2_USE_WCHAR
        select BR2_PACKAGE_UTIL_LINUX
@@ -12,4 +12,4 @@ config BR2_PACKAGE_QUOTA
          http://sourceforge.net/projects/linuxquota/
 
 comment "quota requires a toolchain with RPC + LARGEFILE + WCHAR support"
-       depends on !(BR2_INET_RPC && BR2_LARGEFILE && BR2_USE_WCHAR)
+       depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE && BR2_USE_WCHAR)
index 06f58d60f2cc2f3df9eef4365e6ace786a37bab6..dec60d0dc46abe17b4299277162ccc19a65629e7 100644 (file)
@@ -51,7 +51,7 @@ SAMBA_CONF_OPT = \
        \
        --without-cluster-support \
        --without-dnsupdate \
-       $(if $(BR2_INET_RPC),--with-sys-quotas,--without-sys-quotas) \
+       $(if $(BR2_TOOLCHAIN_HAS_NATIVE_RPC),--with-sys-quotas,--without-sys-quotas) \
        --without-ads \
        --without-ldap \
        --with-included-iniparser \
index 4fc2de9b2ed5a8d87a27d49b40086d7cc844055b..a420425d46730ac309e5c1a007a14c61159a5db5 100644 (file)
@@ -9,7 +9,7 @@ XINETD_SITE          = http://www.xinetd.org
 XINETD_LICENSE       = xinetd license
 XINETD_LICENSE_FILES = COPYRIGHT
 
-ifneq ($(BR2_INET_RPC),y)
+ifneq ($(BR2_TOOLCHAIN_HAS_NATIVE_RPC),y)
 XINETD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DNO_RPC"
 endif
 
index 497cfff224c4b234fb370125fbeb0cbd82291dc6..34e9c179d656a3eb9058ba24654e21a69df5b069 100644 (file)
@@ -202,7 +202,7 @@ check_glibc = \
        fi; \
        $(call check_glibc_feature,BR2_LARGEFILE,Large file support) ;\
        $(call check_glibc_feature,BR2_INET_IPV6,IPv6 support) ;\
-       $(call check_glibc_feature,BR2_INET_RPC,RPC support) ;\
+       $(call check_glibc_feature,BR2_TOOLCHAIN_HAS_NATIVE_RPC,RPC support) ;\
        $(call check_glibc_feature,BR2_ENABLE_LOCALE,Locale support) ;\
        $(call check_glibc_feature,BR2_USE_MMU,MMU support) ;\
        $(call check_glibc_feature,BR2_USE_WCHAR,Wide char support)
@@ -248,7 +248,7 @@ check_uclibc = \
        $(call check_uclibc_feature,__ARCH_USE_MMU__,BR2_USE_MMU,$${UCLIBC_CONFIG_FILE},MMU support) ;\
        $(call check_uclibc_feature,__UCLIBC_HAS_LFS__,BR2_LARGEFILE,$${UCLIBC_CONFIG_FILE},Large file support) ;\
        $(call check_uclibc_feature,__UCLIBC_HAS_IPV6__,BR2_INET_IPV6,$${UCLIBC_CONFIG_FILE},IPv6 support) ;\
-       $(call check_uclibc_feature,__UCLIBC_HAS_RPC__,BR2_INET_RPC,$${UCLIBC_CONFIG_FILE},RPC support) ;\
+       $(call check_uclibc_feature,__UCLIBC_HAS_RPC__,BR2_TOOLCHAIN_HAS_NATIVE_RPC,$${UCLIBC_CONFIG_FILE},RPC support) ;\
        $(call check_uclibc_feature,__UCLIBC_HAS_LOCALE__,BR2_ENABLE_LOCALE,$${UCLIBC_CONFIG_FILE},Locale support) ;\
        $(call check_uclibc_feature,__UCLIBC_HAS_WCHAR__,BR2_USE_WCHAR,$${UCLIBC_CONFIG_FILE},Wide char support) ;\
        $(call check_uclibc_feature,__UCLIBC_HAS_THREADS__,BR2_TOOLCHAIN_HAS_THREADS,$${UCLIBC_CONFIG_FILE},Thread support) ;\
index 7580946c62dcc34b14a191d544629065b1addbf2..956ec2fe2dd26ea886200d028ac72b958ee22df3 100644 (file)
@@ -20,7 +20,7 @@ config BR2_TOOLCHAIN_BUILDROOT_INET_IPV6
 
 config BR2_TOOLCHAIN_BUILDROOT_INET_RPC
        bool "Enable RPC support"
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        help
          Enable this option if you want your toolchain to support
          RPC (needed for NFS, for example).
index 10950ba2958aba19b2d91ece1e171786765f7ea6..4c2a28bf8fb5c63576501ac89e56307db990f86f 100644 (file)
@@ -11,7 +11,7 @@ config BR2_LARGEFILE
 config BR2_INET_IPV6
        bool
 
-config BR2_INET_RPC
+config BR2_TOOLCHAIN_HAS_NATIVE_RPC
        bool
 
 config BR2_USE_WCHAR
index 35ea2b1c813aceed0ad8c9f9fa0e3ea71add53a1..9cd5ca51df6a343d5e339f8b6de1670300921a56 100644 (file)
@@ -14,7 +14,9 @@ config BR2_TOOLCHAIN_CTNG_eglibc
        bool "eglibc"
        select BR2_LARGEFILE
        select BR2_INET_IPV6
-       select BR2_INET_RPC
+       # Our default ct-ng configuration uses eglibc 2.12, which has
+       # native RPC support
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_ENABLE_LOCALE
        select BR2_USE_WCHAR
 
@@ -22,7 +24,9 @@ config BR2_TOOLCHAIN_CTNG_glibc
        bool "glibc"
        select BR2_LARGEFILE
        select BR2_INET_IPV6
-       select BR2_INET_RPC
+       # Our default ct-ng configuration uses glibc 2.9, which has
+       # native RPC support
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_ENABLE_LOCALE
        select BR2_USE_WCHAR
 
@@ -66,7 +70,7 @@ config BR2_TOOLCHAIN_CTNG_uClibc_INET_IPV6
 
 config BR2_TOOLCHAIN_CTNG_uClibc_INET_RPC
        bool "Enable RPC support"
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        help
          Enable this option if you want your toolchain to support
          RPC (needed for NFS, for example).
index e28b309cb875ca3c8373f7211a7fb2ac3491f83b..595864bf45bff103e8bc9c4f2a2ec6f039ee6f17 100644 (file)
@@ -450,7 +450,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
        depends on BR2_sh2a
        select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
        select BR2_LARGEFILE
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_USE_WCHAR
        select BR2_TOOLCHAIN_HAS_THREADS
        select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
@@ -467,7 +467,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
        depends on BR2_sh2a
        select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
        select BR2_LARGEFILE
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_USE_WCHAR
        select BR2_TOOLCHAIN_HAS_THREADS
        select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
@@ -528,7 +528,7 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
        select BR2_INSTALL_LIBSTDCPP
        select BR2_LARGEFILE
        select BR2_INET_IPV6
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_USE_WCHAR
        select BR2_TOOLCHAIN_HAS_THREADS
        select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
@@ -543,7 +543,7 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1
        select BR2_INSTALL_LIBSTDCPP
        select BR2_LARGEFILE
        select BR2_INET_IPV6
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_USE_WCHAR
        select BR2_TOOLCHAIN_HAS_THREADS
        select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
@@ -558,7 +558,7 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1
        select BR2_INSTALL_LIBSTDCPP
        select BR2_LARGEFILE
        select BR2_INET_IPV6
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_USE_WCHAR
        select BR2_TOOLCHAIN_HAS_THREADS
        select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
@@ -678,7 +678,7 @@ config BR2_TOOLCHAIN_EXTERNAL_GLIBC
        bool
        select BR2_LARGEFILE
        select BR2_INET_IPV6
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_USE_WCHAR
        select BR2_ENABLE_LOCALE
        select BR2_TOOLCHAIN_HAS_THREADS
@@ -732,7 +732,7 @@ config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
 
 config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
        bool "Toolchain has RPC support?"
-       select BR2_INET_RPC
+       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
        help
          Select this option if your external toolchain supports
          RPC. If you don't know, leave the default value, Buildroot
index c56f0a7df81fc57a918ddab10696da58595dea1c..f05d9eb245c207d46d20c71064eca6d521f15b45 100644 (file)
 #  the Buildroot configuration system knows whether the toolchain
 #  supports RPC, IPv6, locales, large files, etc. Unfortunately, these
 #  things cannot be detected automatically, since the value of these
-#  options (such as BR2_INET_RPC) are needed at configuration time
-#  because these options are used as dependencies for other
-#  options. And at configuration time, we are not able to retrieve the
-#  external toolchain configuration.
+#  options (such as BR2_TOOLCHAIN_HAS_NATIVE_RPC) are needed at
+#  configuration time because these options are used as dependencies
+#  for other options. And at configuration time, we are not able to
+#  retrieve the external toolchain configuration.
 #
 #  3. Copy the libraries needed at runtime to the target directory,
 #  $(TARGET_DIR). Obviously, things such as the C library, the dynamic