From 20aab260e2f7011523402464fb079f48e5899890 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 19 Jul 2001 22:28:02 +0000 Subject: Some adjustments, mostly from David McCullough to make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik --- Config.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Config.h') diff --git a/Config.h b/Config.h index 00294f72e..1daf65cc7 100644 --- a/Config.h +++ b/Config.h @@ -417,6 +417,19 @@ // Nothing beyond this point should ever be touched by // mere mortals so leave this stuff alone. // +#include +#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 -- cgit v1.2.3