Add a USES_TGZ config.in variable, so that RB1xx profiles can use it
[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_SQUASHFS && !USES_JFFS2
47 default y if USES_EXT2
48 depends !TARGET_ROOTFS_INITRAMFS
49 help
50 Ext2 file system with some free space for uml images
51
52 comment "Image Options"
53
54 source "target/linux/*/image/Config.in"
55
56 config TARGET_ROOTFS_FSPART
57 int "Filesystem part size (in MB)"
58 depends X86_GRUB_IMAGES || TARGET_ROOTFS_EXT2FS || LINUX_2_6_RB532
59 default 16
60 help
61 Allows you to change the filesystem partition size
62
63 config TARGET_ROOTFS_MAXINODE
64 int "Maximum number of inodes in filesystem"
65 depends TARGET_ROOTFS_EXT2FS
66 default 1500
67 help
68 Allows you to change the maximum number of inodes in the filesystem
69
70 endmenu
71
72
73 config ALL
74 bool "Select all packages by default"
75 default n
76
77 menuconfig DEVEL
78 bool "Advanced configuration options (for developers)"
79 default n
80 select BUILDOPTS
81 select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
82
83 config BROKEN
84 bool "Show broken platforms / packages" if DEVEL
85 default n
86
87 config LOCALMIRROR
88 string "Local mirror for source packages" if DEVEL
89
90 menuconfig BUILDOPTS
91 bool "Build Options" if DEVEL
92
93 config AUTOREBUILD
94 bool
95 prompt "Automatic rebuild of packages" if BUILDOPTS
96 default y
97 help
98 Automatically rebuild packages when their files change
99
100 config TAR_VERBOSITY
101 bool
102 prompt "Tar verbose" if BUILDOPTS
103 default n
104
105 config JLEVEL
106 int
107 prompt "Number of jobs to run simultaneously" if BUILDOPTS
108 default "1"
109 help
110 Number of jobs to run simultanesouly
111
112 config CCACHE
113 bool
114 prompt "Use ccache" if BUILDOPTS
115 default n
116 help
117 Compiler cache; see http://ccache.samba.org/
118
119 config SOURCE_FEEDS
120 string
121 prompt "Enter here external source feeds you want to include" if BUILDOPTS
122 default "https://svn.openwrt.org/openwrt/packages/"
123 help
124 Separate sources with spaces : " "
125
126 source "toolchain/Config.in"
127 source "target/imagebuilder/Config.in"
128 source "target/sdk/Config.in"
129
130 source "tmp/.config-package.in"
131