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
commitdeae5957c915ed94fba8a8af4ad236a3749125b5 (patch)
tree6d18c12343a5c4cf68c6895276ff69ffd7245124 /package/utils/busybox/Config.in
parent004cf6a87c872706047a2db83e44994d91d3aca1 (diff)
downloadmaster-187ad058-deae5957c915ed94fba8a8af4ad236a3749125b5.tar.gz
master-187ad058-deae5957c915ed94fba8a8af4ad236a3749125b5.tar.bz2
master-187ad058-deae5957c915ed94fba8a8af4ad236a3749125b5.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> 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