On Fri, Apr 19, 2024 at 1:02 PM Jeff Pohlmeyer <yetanotherg...@gmail.com> wrote: > > That is probably because "defconfig" enables a lot of features in the > httpd applet that are disabled when you build with "allnoconfig" > > Things like: Date header, Last-Modified header, Range requests, HTTP > authentication, custom error pages, reverse proxying, GZIP encoding, > and CGI scripting.
I've built it with allnoconfig+menuconfig, set "httpd" and all these features were seIected automatically, so they were present in 34K binary too. Looks like the binary size is affected by other default options. > That's a lot of extra functionality for a 16K increase in size. You > can of course go back in either config and enable/disable just the > features you need, but I don't know how you would do that > non-interactively. Yep, looks like there is no way to select configuration non-interactively. The "menu randconfig" is somehow able to click different options, so I guess it is just a matter of patching the build system to support "make enable httpd". Not sure if it is C, shell or make code that does the config management. -- anatoly t. _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox