9b0d79ea5e
libwebsockets currently depends on zlib, however, as of commit 13ba5bbc633ea962d46d9f2bfb2e87c9f7e83b62 (from 2013!) zlib is not actually a requirement if extensions are not enabled. By default, libwebsockets sets the "LWS_WITHOUT_EXTENSIONS" option to "ON," which removes the need for zlib as a dependency. Because of this default setting, there are two options: 1) Remove the dependency on zlib, create a new option under Config.in to allow a user to enable extensions, add zlib as a dependency, and set LWS_WITHOUT_EXTENSIONS to "OFF" if that option is selected. 2) Keep the dependency and explicitly set LWS_WITHOUT_EXTENSIONS to "OFF." Below are the size differences in bytes: - Without zlib and extensions: 44636 - With zlib and without extensions: 44720 - With zlib and with extensions: 44732 Considering the size difference between all 3 is an incredible 96 bytes, and the difference between what we have now, and enabling extensions is an insurmountable 12 bytes, it is safe to keep the dependency on zlib and always enable extensions. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> |
||
---|---|---|
arch | ||
board | ||
boot | ||
configs | ||
docs | ||
fs | ||
linux | ||
package | ||
support | ||
system | ||
toolchain | ||
utils | ||
.defconfig | ||
.flake8 | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitlab-ci.yml.in | ||
CHANGES | ||
Config.in | ||
Config.in.legacy | ||
COPYING | ||
DEVELOPERS | ||
Makefile | ||
Makefile.legacy | ||
README |
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on Freenode IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches