enable preinit in a few other platforms
[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 menuconfig BUILDOPTS
30         bool "Build Options" if DEVEL
31
32 config AUTOREBUILD
33         bool
34         prompt "Automatic rebuild of packages" if BUILDOPTS
35         default y
36         help
37                 Automatically rebuild packages when their files change
38
39 config TAR_VERBOSITY
40         bool 
41         prompt "Tar verbose" if BUILDOPTS
42         default n
43
44 config JLEVEL
45         int
46         prompt "Number of jobs to run simultaneously" if BUILDOPTS
47         default "1"
48         help
49             Number of jobs to run simultanesouly
50
51 config CCACHE
52         bool
53         prompt "Use ccache" if BUILDOPTS
54         default n
55         help
56                 Compiler cache; see http://ccache.samba.org/
57
58 config SOURCE_FEEDS
59         string
60         prompt "Enter here external source feeds you want to include" if BUILDOPTS
61         default "https://svn.openwrt.org/openwrt/packages/"
62         help
63                 Separate sources with spaces : " "
64
65 source "toolchain/Config.in"
66 source "target/imagebuilder/Config.in"
67 source "target/sdk/Config.in"
68
69 menu "Target Images"
70         config TARGET_ROOTFS_INITRAMFS
71                 bool "ramdisk"
72                 default n
73                 depends LINUX_2_6
74                 help
75                   Embed the rootfs into the kernel (initramfs)
76
77         config TARGET_ROOTFS_JFFS2
78                 bool "jffs2"
79                 default y if USES_JFFS2
80                 depends !TARGET_ROOTFS_INITRAMFS
81                 help
82                   Build a jffs2 root filesystem
83
84         config TARGET_ROOTFS_SQUASHFS
85                 bool "squashfs"
86                 default y if USES_SQUASHFS
87                 depends !TARGET_ROOTFS_INITRAMFS
88                 help
89                   Build a squashfs-lzma root filesystem
90
91         config TARGET_ROOTFS_TGZ
92                 bool "tgz"
93                 default y if !USES_SQUASHFS && !USES_JFFS2
94                 depends !TARGET_ROOTFS_INITRAMFS
95                 help
96                   Build a compressed tar archive of the the root filesystem
97                   
98         config TARGET_ROOTFS_EXT2FS
99                 bool "ext2"
100                 default y if !USES_SQUASHFS && !USES_JFFS2
101                 default y if USES_EXT2
102                 depends !TARGET_ROOTFS_INITRAMFS
103                 help
104                   Ext2 file system with some free space for uml images
105
106 comment "Image Options"
107
108 source "target/linux/*/image/Config.in"
109
110     config TARGET_ROOTFS_FSPART
111         int "Filesystem part size (in MB)"
112         depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || LINUX_2_6_RB532
113         default 16
114         help
115             Allows you to change the filesystem partition size
116
117     config TARGET_ROOTFS_MAXINODE
118         int "Maximum number of inodes in filesystem"
119         depends TARGET_ROOTFS_EXT2FS
120         default 1500
121         help
122             Allows you to change the maximum number of inodes in the filesystem
123
124 endmenu
125
126 source "tmp/.config.in"
127