1 /* vi: set sw=4 ts=4: */
2 // This file defines the feature set to be compiled into busybox.
3 // When you turn things off here, they won't be compiled in at all.
5 //// This file is parsed by sed. You MUST use single line comments.
6 // i.e. //#define BB_BLAH
9 // BusyBox Applications
12 #define BB_CHMOD_CHOWN_CHGRP
31 #define BB_FREERAMDISK
42 // Don't bother turning BB_INSMOD on. It doesn't work yet.
79 #define BB_SETKEYCODES
91 // Don't bother turning BB_TELNET on. It doesn't work properly yet.
106 // End of Applications List
110 // ---------------------------------------------------------
111 // This is where feature definitions go. Generally speaking,
112 // turning this stuff off makes things a bit smaller (and less
116 // Turn this on to use Erik's very cool devps, devmtab,
117 // etc kernel drivers, thereby eliminating the need for
118 // the /proc filesystem and thereby saving lots and lots
119 // memory for more important things.
120 // You can't use this and USE_PROCFS at the same time...
121 // (BTW, I emailed Linus and this patch will not be going into the stock kernel)
122 //#define BB_FEATURE_USE_DEVPS_PATCH
124 // enable features that use the /proc filesystem (apps that
125 // break without this will tell you on compile)...
126 // You can't use this and BB_FEATURE_USE_DEVPS_PATCH
127 // at the same time...
128 #define BB_FEATURE_USE_PROCFS
130 // Enable full regular expressions. This adds about
131 // 4k. When this is off, things that would normally
132 // use regualr expressions (like grep) will just use
134 #define BB_FEATURE_FULL_REGULAR_EXPRESSIONS
136 // This compiles out everything but the most
137 // trivial --help usage information (i.e. reduces binary size)
138 //#define BB_FEATURE_TRIVIAL_HELP
140 // Use termios to manipulate the screen ('more' is prettier with this on)
141 //#define BB_FEATURE_USE_TERMIOS
143 // calculate terminal & column widths (for more and ls)
144 #define BB_FEATURE_AUTOWIDTH
146 // show username/groupnames (bypasses libc6 NSS) for ls
147 #define BB_FEATURE_LS_USERNAME
149 // show file timestamps in ls
150 #define BB_FEATURE_LS_TIMESTAMPS
152 // enable ls -p and -F
153 #define BB_FEATURE_LS_FILETYPES
155 // Change ping implementation -- simplified, featureless, but really small.
156 //#define BB_SIMPLE_PING
158 // Make init use a simplified /etc/inittab file (recommended).
159 #define BB_FEATURE_USE_INITTAB
161 //Enable init being called as /linuxrc
162 //#define BB_FEATURE_LINUXRC
164 //Have init enable core dumping for child processes (for debugging only)
165 //#define BB_FEATURE_INIT_COREDUMPS
167 // Allow init to permenently chroot, and umount the old root fs
168 // just like an initrd does. Requires a kernel patch by Werner Almesberger.
169 // ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz
170 //#define BB_FEATURE_INIT_CHROOT
172 //Make sure nothing is printed to the console on boot
173 #define BB_FEATURE_EXTRA_QUIET
175 //Simple tail implementation (2k vs 6k for the full one). Still
176 //provides 'tail -f' support -- but for only one file at a time.
177 #define BB_FEATURE_SIMPLE_TAIL
179 // Enable support for loop devices in mount
180 #define BB_FEATURE_MOUNT_LOOP
182 // Enable support for a real /etc/mtab file instead of /proc/mounts
183 //#define BB_FEATURE_MOUNT_MTAB_SUPPORT
185 // Enable support forced filesystem unmounting
186 // (i.e. in case of an unreachable NFS system).
187 #define BB_FEATURE_MOUNT_FORCE
189 // Enable support for mounting remote NFS volumes
190 //#define BB_FEATURE_NFSMOUNT
192 // Enable support for creation of tar files.
193 #define BB_FEATURE_TAR_CREATE
195 // Enable support for "--exclude" for excluding files
196 #define BB_FEATURE_TAR_EXCLUDE
198 //// Enable reverse sort
199 #define BB_FEATURE_SORT_REVERSE
201 // Enable command line editing in the shell
202 //#define BB_FEATURE_SH_COMMAND_EDITING
204 //Allow the shell to invoke all the compiled in BusyBox commands as if they
205 //were shell builtins. Nice for staticly linking an emergency rescue shell
206 //amoung other thing.
207 #define BB_FEATURE_STANDALONE_SHELL
209 // Enable tab completion in the shell (not yet
210 // working very well -- so don't turn this on)
211 //#define BB_FEATURE_SH_TAB_COMPLETION
213 //Turn on extra fbset options
214 //#define BB_FEATURE_FBSET_FANCY
217 // End of Features List
224 //---------------------------------------------------
225 // Nothing beyond this point should ever be touched by
226 // mere mortals so leave this stuff alone.
228 #ifdef BB_FEATURE_MOUNT_MTAB_SUPPORT
232 #if defined BB_FEATURE_FULL_REGULAR_EXPRESSIONS && (defined BB_SED || defined BB_GREP )
236 #if defined BB_FEATURE_SH_COMMAND_EDITING && defined BB_SH
246 #ifdef BB_FEATURE_LINUXRC
259 #if defined BB_MOUNT && defined BB_FEATURE_NFSMOUNT