if PACKAGE_busybox
-config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
- bool "Enable NFS mount support"
+config BUSYBOX_CUSTOM
+ bool "Customize busybox options"
+ default n
+ help
+ Enabling this allows full customization of busybox settings.
+ Note that there are many options here that can result in a build
+ that doesn't work properly. Enabling customization will mark your
+ build as "tainted" for the purpose of bug reports.
+ See the variables written to /etc/openwrt_release
+
+ Unless you know what you are doing, you should leave this as 'n'
+
+ source "Config-defaults.in"
+
+ if BUSYBOX_CUSTOM
+ source "config/Config.in"
+ endif
+
+config BUSYBOX_USE_LIBRPC
+ bool
+ default y if BUSYBOX_CUSTOM && BUSYBOX_CONFIG_FEATURE_HAVE_RPC
+ default y if !BUSYBOX_CUSTOM && BUSYBOX_DEFAULT_FEATURE_HAVE_RPC
endif