From: Roy Marples Date: Fri, 16 Sep 2016 16:21:17 +0000 (+0000) Subject: SMALL target removes the custom logger. X-Git-Tag: v6.11.4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5daad0b0f3651d4ed75def6039f7293d01910ce1;p=thirdparty%2Fdhcpcd.git SMALL target removes the custom logger. --- diff --git a/README b/README index ec3e0df8..893aba8d 100644 --- a/README +++ b/README @@ -16,7 +16,8 @@ To compile small dhcpcd, maybe to be used for installation media where size is a concern, you can use the --small configure option to enable a reduced feature set within dhcpcd. Currently this just removes non important options out of -dhcpcd-definitions.conf and removes support for DHCPv6 Prefix Delegation. +dhcpcd-definitions.conf, the custom logger and +support for DHCPv6 Prefix Delegation. Other features maybe dropped as and when required. If you're cross compiling you may need set the platform if OS is different diff --git a/common.h b/common.h index da9aea96..24655874 100644 --- a/common.h +++ b/common.h @@ -165,6 +165,10 @@ int get_monotonic(struct timespec *); * However, this results in a ugly output on the command line * and relies on syslogd(8) starting before dhcpcd which is not * always the case. */ +#ifdef SMALL +# undef USE_LOGFILE +# define USE_LOGFILE 0 +#endif #ifndef USE_LOGFILE # define USE_LOGFILE 1 #endif