busybox: Move libresolv detection to LEDE Makefile
[openwrt/openwrt.git] / package / utils / busybox / Config.in
index 9a8def66b9252caac6716b82cc4928ec34a92a03..917e714f6cc38f1ded8de20ca32f1b8c3014ef62 100644 (file)
@@ -1,6 +1,26 @@
 if PACKAGE_busybox
 
-config BUSYBOX_ENABLE_NFS_MOUNT
-       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