added generation of x86 livecds, from #2391
[openwrt-10.03/.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         config TARGET_ROOTFS_ISO 
52                 bool "iso" 
53                 default n 
54                 depends TARGET_ROOTFS_INITRAMFS && TARGET_x86 
55                 help 
56                   Create some bootable ISO image 
57
58 comment "Image Options"
59
60 source "target/linux/*/image/Config.in"
61
62     config TARGET_ROOTFS_FSPART
63         int "Filesystem part size (in MB)"
64         depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || LINUX_2_6_RB532
65         default 16
66         help
67             Allows you to change the filesystem partition size
68
69     config TARGET_ROOTFS_MAXINODE
70         int "Maximum number of inodes in filesystem"
71         depends TARGET_ROOTFS_EXT2FS
72         default 1500
73         help
74             Allows you to change the maximum number of inodes in the filesystem
75
76 endmenu
77
78
79 config ALL
80         bool "Select all packages by default"
81         default n
82
83 menuconfig DEVEL
84         bool "Advanced configuration options (for developers)"
85         default n
86         select BUILDOPTS
87         select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
88
89 config BROKEN
90         bool
91         prompt "Show broken platforms / packages" if DEVEL
92         default n
93
94 config LOCALMIRROR
95         string
96         prompt "Local mirror for source packages" if DEVEL
97
98 menuconfig BUILDOPTS
99         bool
100         prompt "Build Options" if DEVEL
101
102 config CLEAN_IPKG
103         bool
104         prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS
105         default n
106
107 config AUTOREBUILD
108         bool
109         prompt "Automatic rebuild of packages" if BUILDOPTS
110         default y
111         help
112                 Automatically rebuild packages when their files change
113
114 config BUILD_SUFFIX
115         string
116         prompt "Build suffix to append to the BUILD_DIR variable" if BUILDOPTS
117         default ""
118         help
119                 Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix
120
121 config TAR_VERBOSITY
122         bool 
123         prompt "Tar verbose" if BUILDOPTS
124         default n
125
126 config CCACHE
127         bool
128         prompt "Use ccache" if BUILDOPTS
129         default n
130         help
131                 Compiler cache; see http://ccache.samba.org/
132
133 config SOURCE_FEEDS
134         string
135         prompt "Enter here external source feeds you want to include" if BUILDOPTS
136         default "https://svn.openwrt.org/openwrt/packages/"
137         help
138                 Separate sources with spaces : " "
139
140 config SOURCE_FEEDS_REV
141         string
142         prompt "Revision for the source feed svn checkout" if BUILDOPTS
143         default ""
144
145
146 source "toolchain/Config.in"
147 source "target/imagebuilder/Config.in"
148 source "target/sdk/Config.in"
149
150 source "tmp/.config-package.in"
151