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
30 //#define BB_FREERAMDISK
31 //#define BB_FSCK_MINIX
40 // Don't bother turning BB_INSMOD on. It doesn't work.
54 //#define BB_MKFS_MINIX
87 // Don't turn BB_TELNET on. It doesn't work.
101 // End of Applications List
105 // ---------------------------------------------------------
106 // This is where feature definitions go. Generally speaking,
107 // turning this stuff off makes things a bit smaller (and less
111 // Turn this on to use Erik's very cool devps, devmtab,
112 // etc. kernel drivers, thereby eliminating the need for
113 // the /proc filesystem and thereby saving lots and lots
114 // memory for more important things.
115 // You can't use this and USE_PROCFS at the same time...
116 //#define BB_FEATURE_USE_DEVPS_PATCH
118 // enable features that use the /proc filesystem (apps that
119 // break without this will tell you on compile)...
120 // You can't use this and BB_FEATURE_USE_DEVPS_PATCH
121 // at the same time...
122 #define BB_FEATURE_USE_PROCFS
124 // Use termios to manipulate the screen ('more' is prettier with this on)
125 #define BB_FEATURE_USE_TERMIOS
127 // calculate terminal & column widths (for more and ls)
128 #define BB_FEATURE_AUTOWIDTH
130 // show username/groupnames (bypasses libc6 NSS) for ls
131 #define BB_FEATURE_LS_USERNAME
133 // show file timestamps in ls
134 #define BB_FEATURE_LS_TIMESTAMPS
136 // enable ls -p and -F
137 #define BB_FEATURE_LS_FILETYPES
139 // Change ping implementation -- simplified, featureless, but really small.
140 //#define BB_SIMPLE_PING
142 // Make init use a simplified /etc/inittab file (recommended).
143 #define BB_FEATURE_USE_INITTAB
145 //Enable init being called as /linuxrc
146 //#define BB_FEATURE_LINUXRC
148 //Simple tail implementation (2k vs 6k for the full one). Still
149 //provides 'tail -f' support -- but for only one file at a time.
150 #define BB_FEATURE_SIMPLE_TAIL
152 // Enable support for loop devices in mount
153 #define BB_FEATURE_MOUNT_LOOP
155 // Enable support for a real /etc/mtab file instead of /proc/mounts
156 //#define BB_FEATURE_MOUNT_MTAB_SUPPORT
159 // Enable support for remounting filesystems
160 #define BB_FEATURE_REMOUNT
162 // Enable support for creation of tar files.
163 //#define BB_FEATURE_TAR_CREATE
165 //// Enable reverse sort
166 //#define BB_FEATURE_SORT_REVERSE
168 // Allow init to permenently chroot, and umount the old root fs
169 // just like an initrd does. Requires a kernel patch by Werner Almesberger.
170 // ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz
171 //#define BB_FEATURE_INIT_CHROOT
173 //Make sure nothing is printed to the console on boot
174 #define BB_FEATURE_EXTRA_QUIET
176 // Enable full regular expressions. This adds about
177 // 4k. When this is off, things that would normally
178 // use regualr expressions (like grep) will just use
180 #define BB_FEATURE_FULL_REGULAR_EXPRESSIONS
183 // Enable command line editing in the shell
184 #define BB_FEATURE_SH_COMMAND_EDITING
187 // End of Features List
194 //---------------------------------------------------
195 // Nothing beyond this point should ever be touched by
196 // mere mortals so leave this stuff alone.
197 #ifdef BB_FEATURE_MOUNT_MTAB_SUPPORT
201 #ifdef BB_FEATURE_FULL_REGULAR_EXPRESSIONS
205 #ifdef BB_FEATURE_SH_COMMAND_EDITING