On 4/19/24 14:29, anatoly techtonik wrote:
On Fri, Apr 19, 2024 at 1:02 PM Jeff Pohlmeyer <[email protected]> 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.

Do you really think it is necessary to "fix" the build system in order to automatically support this special case?

If you once have selected your desired stuff with everything unneeded, just keep your .config file and then re-use it.

I don't want to stop you, but maybe everybody's precious time is better spent elsewhere than in automating esoteric special cases.


Bye
Tim
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to