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
37 // Don't turn BB_INSMOD on. It doesn't work.
83 // Don't turn BB_TELNET on. It doesn't work.
95 // End of Applications List
100 // This is where feature definitions go. Generally speaking,
101 // turning this stuff off makes things a bit smaller (and less
105 // enable features that use the /proc filesystem (apps that
106 // break without this will tell you on compile)...
107 #define BB_FEATURE_USE_PROCFS
109 // Use termios to manipulate the screen ('more' is prettier with this on)
110 #define BB_FEATURE_USE_TERMIOS
112 // calculate terminal & column widths (for more and ls)
113 #define BB_FEATURE_AUTOWIDTH
115 // show username/groupnames (bypasses libc6 NSS) for ls
116 #define BB_FEATURE_LS_USERNAME
118 // show file timestamps in ls
119 #define BB_FEATURE_LS_TIMESTAMPS
121 // enable ls -p and -F
122 #define BB_FEATURE_LS_FILETYPES
124 // Change ping implementation -- simplified, featureless, but really small.
125 //#define BB_SIMPLE_PING
127 // Make init use a simplified /etc/inittab file (recommended).
128 #define BB_FEATURE_USE_INITTAB
130 //Enable init being called as /linuxrc
131 //#define BB_FEATURE_LINUXRC
134 //Simple tail implementation (2k vs 6k for the full one). Still
135 //provides 'tail -f' support -- but for only one file at a time.
136 #define BB_FEATURE_SIMPLE_TAIL
138 // Enable support for loop devices in mount
139 #define BB_FEATURE_MOUNT_LOOP
141 // Enable support for a real /etc/mtab file instead of /proc/mounts
147 // Enable support for remounting filesystems
148 #define BB_FEATURE_REMOUNT
150 // Enable support for creation of tar files.
151 //#define BB_FEATURE_TAR_CREATE
153 //// Enable reverse sort
154 //#define BB_FEATURE_SORT_REVERSE
156 // Allow init to permenently chroot, and umount the old root fs
157 // just like an initrd does. Requires a kernel patch by Werner Almesberger.
158 // ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz
160 #define BB_FEATURE_INIT_CHROOT