This depmod script will create a modules.dep file, just like the depmod
[oweals/busybox.git] / Config.h
index 0511811606ec69d12d0e97063ae8d6a6555ad598..da62cbfda46697a658b9674d589db32b5fe701f9 100644 (file)
--- a/Config.h
+++ b/Config.h
 #define BB_MKNOD
 #define BB_MKSWAP
 //#define BB_MKTEMP
-//#define BB_NC
+#define BB_MODPROBE
 #define BB_MORE
 #define BB_MOUNT
 //#define BB_MT
 #define BB_MV
+//#define BB_NC
 //#define BB_NSLOOKUP
 //#define BB_PING
 //#define BB_PIVOT_ROOT
 //#define BB_TFTP
 #define BB_TOUCH
 //#define BB_TR
+//#define BB_TRACEROUTE
 #define BB_TRUE_FALSE
 #define BB_TTY
 //#define BB_UNIX2DOS
 // Support for TELNET to pass TERM type to remote host.  Adds 384 bytes.
 #define BB_FEATURE_TELNET_TTYPE
 //
+// Support for devfs.
+//#define BB_FEATURE_DEVFS
+//
 // End of Features List
 //
 //
 // Nothing beyond this point should ever be touched by 
 // mere mortals so leave this stuff alone.
 //
+#include <features.h>
+#if defined __UCLIBC__ && ! defined __UCLIBC_HAS_MMU__
+       #undef BB_RPM2CPIO              /* Uses gz_open(), which uses fork() */
+       #undef BB_DPKG_DEB              /* Uses gz_open(), which uses fork() */
+       #undef BB_FEATURE_ASH   /* Uses fork() */
+       #undef BB_FEATURE_HUSH  /* Uses fork() */
+       #undef BB_FEATURE_LASH  /* Uses fork() */
+       #undef BB_INIT                  /* Uses fork() */
+       #undef BB_FEATURE_TAR_GZIP      /* Uses fork() */
+       #undef BB_SYSLOGD               /* Uses daemon() */
+       #undef BB_KLOGD                 /* Uses daemon() */
+       #undef BB_UPDATE                /* Uses daemon() */
+#endif
 #if defined BB_SH
        #if defined BB_FEATURE_COMMAND_EDITING 
                #define BB_CMDEDIT