Missing binaries / build system
anatoly techtonik
techtonik at gmail.com
Fri Apr 19 12:29:19 UTC 2024
On Fri, Apr 19, 2024 at 1:02 PM Jeff Pohlmeyer <yetanothergeek at 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.
More information about the busybox
mailing list