aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/Config.in
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-01-31 13:50:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-01-31 13:50:16 +0000
commitcc7b3e2465f57c92879e39690021b3276d4c61aa (patch)
tree441b554f3f955f9051e08a14220d799fd635d303 /package/utils/busybox/Config.in
parentc85705ce8dee363f2ff5c4b0e8f82416a8c4416f (diff)
downloadupstream-cc7b3e2465f57c92879e39690021b3276d4c61aa.tar.gz
upstream-cc7b3e2465f57c92879e39690021b3276d4c61aa.tar.bz2
upstream-cc7b3e2465f57c92879e39690021b3276d4c61aa.zip
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> SVN-Revision: 39435
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