add a menuconfig option for specifying a local download mirror
[openwrt.git] / Config.in
1 # Copyright (C) 2006-2007 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6
7 mainmenu "OpenWrt Configuration"
8
9 config HAVE_DOT_CONFIG
10         bool
11         default y
12
13 source "target/Config.in"
14
15 config ALL
16         bool "Select all packages by default"
17         default n
18
19 menuconfig DEVEL
20         bool "Advanced configuration options (for developers)"
21         default n
22         select BUILDOPTS
23         select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
24
25 config BROKEN
26         bool "Show broken platforms / packages" if DEVEL
27         default n
28
29 config LOCALMIRROR
30         string "Local mirror for source packages" if DEVEL
31
32 menuconfig BUILDOPTS
33         bool "Build Options" if DEVEL
34
35 config AUTOREBUILD
36         bool
37         prompt "Automatic rebuild of packages" if BUILDOPTS
38         default y
39         help
40                 Automatically rebuild packages when their files change
41
42 config TAR_VERBOSITY
43         bool 
44         prompt "Tar verbose" if BUILDOPTS
45         default n
46
47 config JLEVEL
48         int
49         prompt "Number of jobs to run simultaneously" if BUILDOPTS
50         default "1"
51         help
52             Number of jobs to run simultanesouly
53
54 config CCACHE
55         bool
56         prompt "Use ccache" if BUILDOPTS
57         default n
58         help
59                 Compiler cache; see http://ccache.samba.org/
60
61 config SOURCE_FEEDS
62         string
63         prompt "Enter here external source feeds you want to include" if BUILDOPTS
64         default "https://svn.openwrt.org/openwrt/packages/"
65         help
66                 Separate sources with spaces : " "
67
68 source "toolchain/Config.in"
69 source "target/imagebuilder/Config.in"
70 source "target/sdk/Config.in"
71
72 menu "Target Images"
73         config TARGET_ROOTFS_INITRAMFS
74                 bool "ramdisk"
75                 default n
76                 depends LINUX_2_6
77                 help
78                   Embed the rootfs into the kernel (initramfs)
79
80         config TARGET_ROOTFS_JFFS2
81                 bool "jffs2"
82                 default y if USES_JFFS2
83                 depends !TARGET_ROOTFS_INITRAMFS
84                 help
85                   Build a jffs2 root filesystem
86
87         config TARGET_ROOTFS_SQUASHFS
88                 bool "squashfs"
89                 default y if USES_SQUASHFS
90                 depends !TARGET_ROOTFS_INITRAMFS
91                 help
92                   Build a squashfs-lzma root filesystem
93
94         config TARGET_ROOTFS_TGZ
95                 bool "tgz"
96                 default y if !USES_SQUASHFS && !USES_JFFS2
97                 depends !TARGET_ROOTFS_INITRAMFS
98                 help
99                   Build a compressed tar archive of the the root filesystem
100                   
101         config TARGET_ROOTFS_EXT2FS
102                 bool "ext2"
103                 default y if !USES_SQUASHFS && !USES_JFFS2
104                 default y if USES_EXT2
105                 depends !TARGET_ROOTFS_INITRAMFS
106                 help
107                   Ext2 file system with some free space for uml images
108
109 comment "Image Options"
110
111 source "target/linux/*/image/Config.in"
112
113     config TARGET_ROOTFS_FSPART
114         int "Filesystem part size (in MB)"
115         depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || LINUX_2_6_RB532
116         default 16
117         help
118             Allows you to change the filesystem partition size
119
120     config TARGET_ROOTFS_MAXINODE
121         int "Maximum number of inodes in filesystem"
122         depends TARGET_ROOTFS_EXT2FS
123         default 1500
124         help
125             Allows you to change the maximum number of inodes in the filesystem
126
127 endmenu
128
129 source "tmp/.config-package.in"
130