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.
93 // End of Applications List
98 // This is where feature definitions go. Generally speaking,
99 // turning this stuff off makes things a bit smaller (and less
103 // enable features that use the /proc filesystem (apps that
104 // break without this will tell you on compile)...
105 #define BB_FEATURE_USE_PROCFS
107 // Use termios to manipulate the screen ('more' is prettier with this on)
108 #define BB_FEATURE_USE_TERMIOS
110 // calculate terminal & column widths (for more and ls)
111 #define BB_FEATURE_AUTOWIDTH
113 // show username/groupnames (bypasses libc6 NSS) for ls
114 #define BB_FEATURE_LS_USERNAME
116 // show file timestamps in ls
117 #define BB_FEATURE_LS_TIMESTAMPS
119 // enable ls -p and -F
120 #define BB_FEATURE_LS_FILETYPES
122 // Change ping implementation -- simplified, featureless, but really small.
123 //#define BB_SIMPLE_PING
125 // Make init use a simplified /etc/inittab file (recommended).
126 #define BB_FEATURE_USE_INITTAB
128 //Enable init being called as /linuxrc
129 //#define BB_FEATURE_LINUXRC
132 //Simple tail implementation (2k vs 6k for the full one). Still
133 //provides 'tail -f' support -- but for only one file at a time.
134 #define BB_FEATURE_SIMPLE_TAIL
136 // Enable support for loop devices in mount
137 #define BB_FEATURE_MOUNT_LOOP
139 // Enable support for a real /etc/mtab file instead of /proc/mounts
145 // Enable support for remounting filesystems
146 #define BB_FEATURE_REMOUNT
148 // Enable support for creation of tar files.
149 //#define BB_FEATURE_TAR_CREATE
151 // Allow init to permenently chroot, and umount the old root fs
152 // just like an initrd does. Requires a kernel patch by Werner Almesberger.
153 // ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz
155 #define BB_FEATURE_INIT_CHROOT