306c877624fbbe4a4a9de54ef56dce7d7d44f65e
[oweals/busybox.git] / busybox.def.h
1 // This file defines the feature set to be compiled into busybox.
2 // When you turn things off here, they won't be compiled in at all.
3 //
4 //// This file is parsed by sed. You MUST use single line comments.
5 //   i.e.  //#define BB_BLAH
6 //
7 //
8 // BusyBox Applications
9 #define BB_BUSYBOX
10 #define BB_CAT
11 #define BB_CHMOD_CHOWN_CHGRP
12 #define BB_CHROOT
13 #define BB_CHVT
14 #define BB_CLEAR
15 #define BB_CP
16 #define BB_DATE
17 #define BB_DD
18 #define BB_DEALLOCVT
19 #define BB_DF
20 #define BB_DMESG
21 //#define BB_DUTMP
22 #define BB_DU
23 #define BB_FBSET
24 //#define BB_FDFLUSH
25 #define BB_FIND
26 #define BB_FREE
27 #define BB_FSCK_MINIX
28 #define BB_GREP
29 #define BB_GUNZIP
30 #define BB_GZIP
31 //#define BB_HALT
32 #define BB_HEAD
33 //#define BB_HOSTID
34 #define BB_HOSTNAME
35 #define BB_INIT
36 // Don't turn BB_INSMOD on.  It doesn't work.
37 //#define BB_INSMOD
38 #define BB_KILL
39 #define BB_KLOGD
40 //#define BB_LENGTH
41 #define BB_LN
42 //#define BB_LOADACM
43 //#define BB_LOADFONT
44 //#define BB_LOADKMAP
45 //#define BB_LOGGER
46 #define BB_LOGNAME
47 #define BB_LS
48 #define BB_LSMOD
49 //#define BB_MAKEDEVS
50 #define BB_MKFS_MINIX
51 //#define BB_MATH
52 #define BB_MKDIR
53 //#define BB_MKFIFO
54 #define BB_MKNOD
55 #define BB_MKSWAP
56 //#define BB_MNC
57 #define BB_MORE
58 #define BB_MOUNT
59 #define BB_NFSMOUNT
60 //#define BB_MT
61 //#define BB_MTAB
62 #define BB_MV
63 #define BB_NSLOOKUP
64 #define BB_PING
65 #define BB_POWEROFF
66 //#define BB_PRINTF
67 #define BB_PS
68 #define BB_PWD
69 #define BB_REBOOT
70 #define BB_REGEXP
71 #define BB_RM
72 #define BB_RMDIR
73 //#define BB_RMMOD
74 #define BB_SED
75 //#define BB_SFDISK
76 #define BB_SLEEP
77 #define BB_SORT
78 #define BB_SWAPONOFF
79 #define BB_SYNC
80 #define BB_SYSLOGD
81 #define BB_TAIL
82 #define BB_TAR
83 #define BB_TEE
84 #define BB_TOUCH
85 #define BB_TRUE_FALSE
86 #define BB_TTY
87 #define BB_WC
88 #define BB_WHOAMI
89 #define BB_UMOUNT
90 #define BB_UNIQ
91 #define BB_UNAME
92 #define BB_UPDATE
93 #define BB_YES
94 // End of Applications List
95 //
96 //
97 //
98 //
99 // This is where feature definitions go.  Generally speaking,
100 // turning this stuff off makes things a bit smaller (and less 
101 // pretty/useful).
102 //
103 //
104 // enable features that use the /proc filesystem (apps that 
105 // break without this will tell you on compile)...
106 #define BB_FEATURE_USE_PROCFS
107 //
108 // Use termios to manipulate the screen ('more' is prettier with this on)
109 #define BB_FEATURE_USE_TERMIOS
110 //
111 // calculate terminal & column widths (for more and ls)
112 #define BB_FEATURE_AUTOWIDTH
113 //
114 // show username/groupnames (bypasses libc6 NSS) for ls
115 #define BB_FEATURE_LS_USERNAME  
116 //
117 // show file timestamps in ls
118 #define BB_FEATURE_LS_TIMESTAMPS
119 //
120 // enable ls -p and -F
121 #define BB_FEATURE_LS_FILETYPES 
122 //
123 // Change ping implementation -- simplified, featureless, but really small.
124 //#define BB_SIMPLE_PING
125 ////
126 // Make init use a simplified /etc/inittab file (recommended).
127 #define BB_FEATURE_USE_INITTAB
128 //
129 //Enable init being called as /linuxrc
130 //#define BB_FEATURE_LINUXRC
131 //
132 //
133 //Simple tail implementation (2k vs 6k for the full one).  Still
134 //provides 'tail -f' support -- but for only one file at a time.
135 #define BB_FEATURE_SIMPLE_TAIL
136 //
137 // Enable support for loop devices in mount
138 #define BB_FEATURE_MOUNT_LOOP
139 //
140 // Enable support for a real /etc/mtab file instead of /proc/mounts
141 #ifdef BB_MOUNT
142 //#define BB_MTAB
143 #endif
144 //
145 //
146 // Enable support for remounting filesystems
147 #define BB_FEATURE_REMOUNT
148 //
149 // Enable support for creation of tar files.
150 //#define BB_FEATURE_TAR_CREATE
151 //
152 // Allow init to permenently chroot, and umount the old root fs
153 // just like an initrd does.  Requires a kernel patch by Werner Almesberger. 
154 // ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz
155 #ifdef BB_MOUNT
156 #define BB_FEATURE_INIT_CHROOT
157 #endif
158 //