add sysupgrade script for config preserving system upgrades. only implemented for...
[openwrt/svn-archive/archive.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 menu "Target Images"
16 config TARGET_ROOTFS_INITRAMFS
17 bool "ramdisk"
18 default n
19 depends LINUX_2_6
20 help
21 Embed the rootfs into the kernel (initramfs)
22
23 config TARGET_ROOTFS_JFFS2
24 bool "jffs2"
25 default y if USES_JFFS2
26 depends !TARGET_ROOTFS_INITRAMFS
27 help
28 Build a jffs2 root filesystem
29
30 config TARGET_ROOTFS_SQUASHFS
31 bool "squashfs"
32 default y if USES_SQUASHFS
33 depends !TARGET_ROOTFS_INITRAMFS
34 help
35 Build a squashfs-lzma root filesystem
36
37 config TARGET_ROOTFS_TGZ
38 bool "tgz"
39 default y if USES_TGZ
40 depends !TARGET_ROOTFS_INITRAMFS
41 help
42 Build a compressed tar archive of the the root filesystem
43
44 config TARGET_ROOTFS_EXT2FS
45 bool "ext2"
46 default y if USES_EXT2
47 depends !TARGET_ROOTFS_INITRAMFS
48 help
49 Ext2 file system with some free space for uml images
50
51 comment "Image Options"
52
53 source "target/linux/*/image/Config.in"
54
55 config TARGET_ROOTFS_FSPART
56 int "Filesystem part size (in MB)"
57 depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || LINUX_2_6_RB532
58 default 16
59 help
60 Allows you to change the filesystem partition size
61
62 config TARGET_ROOTFS_MAXINODE
63 int "Maximum number of inodes in filesystem"
64 depends TARGET_ROOTFS_EXT2FS
65 default 1500
66 help
67 Allows you to change the maximum number of inodes in the filesystem
68
69 endmenu
70
71
72 config ALL
73 bool "Select all packages by default"
74 default n
75
76 menuconfig DEVEL
77 bool "Advanced configuration options (for developers)"
78 default n
79 select BUILDOPTS
80 select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
81
82 config BROKEN
83 bool "Show broken platforms / packages" if DEVEL
84 default n
85
86 config LOCALMIRROR
87 string "Local mirror for source packages" if DEVEL
88
89 menuconfig BUILDOPTS
90 bool "Build Options" if DEVEL
91
92 config AUTOREBUILD
93 bool
94 prompt "Automatic rebuild of packages" if BUILDOPTS
95 default y
96 help
97 Automatically rebuild packages when their files change
98
99 config TAR_VERBOSITY
100 bool
101 prompt "Tar verbose" if BUILDOPTS
102 default n
103
104 config CCACHE
105 bool
106 prompt "Use ccache" if BUILDOPTS
107 default n
108 help
109 Compiler cache; see http://ccache.samba.org/
110
111 config SOURCE_FEEDS
112 string
113 prompt "Enter here external source feeds you want to include" if BUILDOPTS
114 default "https://svn.openwrt.org/openwrt/packages/"
115 help
116 Separate sources with spaces : " "
117
118 config BUILD_SUFFIX
119 string
120 prompt "Build suffix to append to the BUILD_DIR variable" if BUILDOPTS
121 default ""
122 help
123 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
124
125 config SOURCE_FEEDS_REV
126 string
127 prompt "Revision for the source feed svn checkout" if BUILDOPTS
128 default ""
129
130
131 source "toolchain/Config.in"
132 source "target/imagebuilder/Config.in"
133 source "target/sdk/Config.in"
134
135 source "tmp/.config-package.in"
136