busybox: only add the librpc build dependency for uclibc (#8864)
[openwrt/svn-archive/archive.git] / package / busybox / Config.in
index 1002a5a0d6bd5c9e81ab51881e8db4dcd826830a..7c643e50d3fc04c17fa9f523b502ea35dff47dff 100644 (file)
@@ -1,21 +1,6 @@
 menu "Configuration"
        depends on PACKAGE_busybox
 
-config BUSYBOX_CONFIG_FEATURE_DEVFS
-       bool
-       default y if LINUX_2_4
-       default n if LINUX_2_6
-
-config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
-       bool
-       default y if LINUX_2_4
-       default n if LINUX_2_6
-
-config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
-       bool
-       default n if LINUX_2_4
-       default y if LINUX_2_6
-
 config BUSYBOX_CONFIG_NOMMU
        bool
        depends NOMMU
@@ -34,6 +19,10 @@ config BUSYBOX_CONFIG_HUSH
        default y if NOMMU
        default n if !NOMMU
 
+config BUSYBOX_USE_LIBRPC
+       depends USE_UCLIBC
+       default y if BUSYBOX_CONFIG_FEATURE_HAVE_RPC
+
 source "package/busybox/config/Config.in"
 
 endmenu