summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-05-27 12:57:46 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-05-27 12:57:46 +0000
commitaad8776a0c6c20b3b5452d3ddbe3e84b566461b0 (patch)
treef59bb19ad074182eab9c53e00d3fee949d97792c /config
parenta9e7540d3f32574c33902353dcc9e42102dc8389 (diff)
downloadptxdist-aad8776a0c6c20b3b5452d3ddbe3e84b566461b0.tar.gz
ptxdist-aad8776a0c6c20b3b5452d3ddbe3e84b566461b0.tar.xz
[setup] add feature to disable downloads
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10574 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'config')
-rw-r--r--config/setup/Kconfig21
1 files changed, 20 insertions, 1 deletions
diff --git a/config/setup/Kconfig b/config/setup/Kconfig
index f4b250b6e..8db2f3df9 100644
--- a/config/setup/Kconfig
+++ b/config/setup/Kconfig
@@ -5,6 +5,11 @@
mainmenu "Setup"
+config INVISIBLE
+ bool
+ help
+ don't delete this, it's to keep some menus in shape :)
+
comment "PTXDIST Setup Menu"
menu "Proxies "
@@ -71,7 +76,20 @@ config SETUP_KERNELDIR_PREFIX
endmenu
-menu "Mirrors "
+menu "Source Download "
+
+config SETUP_NO_DOWNLOAD
+ bool "Do not download sources automatically"
+ help
+ Set this to y to disable automatic download at all.
+
+ Note: this can be overwritten by adding the option
+ "--force-download" to the ptxdist call.
+
+comment ""
+ depends on INVISIBLE
+
+if !SETUP_NO_DOWNLOAD
config SETUP_PTXMIRROR_ONLY
bool
@@ -128,6 +146,7 @@ config SETUP_XORGMIRROR
For all x.org related packages enter an available mirror here.
endif # !SETUP_PTXMIRROR_ONLY
+endif # !SETUP_NO_DOWNLOAD
endmenu