summaryrefslogtreecommitdiff
path: root/package/utils/busybox/Config.in
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-31 13:50:16 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-31 13:50:16 +0000
commitc62b35b27fb21a68b99e10114522db3a0cf3ffec (patch)
tree6d18c12343a5c4cf68c6895276ff69ffd7245124 /package/utils/busybox/Config.in
parentae5b09c33ee825c70a820cb543530e94d4785965 (diff)
busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39435 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils/busybox/Config.in')
-rw-r--r--package/utils/busybox/Config.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/package/utils/busybox/Config.in b/package/utils/busybox/Config.in
index c7532fdd82..1cde8e4b24 100644
--- a/package/utils/busybox/Config.in
+++ b/package/utils/busybox/Config.in
@@ -1,6 +1,18 @@
if PACKAGE_busybox
-config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
- bool "Enable NFS mount support"
+config BUSYBOX_CUSTOM
+ bool "Customize busybox options"
+ default n
+
+ source "package/utils/busybox/Config-defaults.in"
+
+ if BUSYBOX_CUSTOM
+ source "package/utils/busybox/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