[yocto] How to create lighttpd with minimal configure options?

Burton, Ross ross.burton at intel.com
Fri Feb 2 12:56:28 PST 2018


On 1 February 2018 at 12:02, Frank Smith <smith-f at gmx.de> wrote:

> I want to create a minimal lighttpd package as small as possible.
> Therefore I created a bbappendfile with extra configure flags. As follows.
> But the changes seems to not have any effect at all. The size of my minimal
> rootfs.jffs2 increases from 3MB to 5.1MB.
>
> meta-iris/recipes-extended/lighttpd/lighttpd_%.bbappend
>
> LICENSE = "BSD"
>
> EXTRA_OECONF += "--enable-ipv6"
> EXTRA_OECONF += "--with-zlib"
> EXTRA_OECONF += "--without-openssl"
>
> How to build a minimal lighttpd package? I was also thinking about
> disabling unused modules, but how?
>
> Maybe I did not really understand, how to enable the ./configure options.
> Is this the right way to configure with an option?
>
> PACKAGECONFIG ??= "openssl pcre zlib \
>     [..]
> "
> PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
>
> EXTRA_OECONF += "--without-openssl"
>

No, that's not how to use PACKAGECONFIG.

See the manual for an explanation of PACKAGECONFIG and how to use it:

http://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#var-PACKAGECONFIG

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180202/cb291588/attachment.html>


More information about the yocto mailing list