On 1 February 2018 at 12:02, Frank Smith 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