On Wed, Jul 25, 2018 at 12:45 PM, Simon Chamlian <[email protected]> wrote: > Trial and errors. > > Is there another way of enabling http2 ? > > In general, if we wish to add flags to a compilation of a package, what is > the proper way of doing it?
Start by reading the recipe and see what variables or PACKAGECONFIG options it uses to derive the configure options. If there's no PACKAGECONFIG option to control the feature then (assuming it's an autotools recipe - which again you need to read the recipe to determine) you can add additional options to EXTRA_OECONF. > Changing the local.conf or the recipe of a given package? Once you know what variable you are trying to change (e.g. appending to PACKAGECONFIG, EXTRA_OECONF, etc) then there are many ways you can do so. Editing the recipe, creating a .bbappend for the recipe or setting via local.conf (which case you'll need to use a recipe specific over-ride since local.conf is a global config file and you only want your change to apply to one particular recipe) would all work. The basic advice though is to try to understand the change you need to make a how to make it by reading documentation or existing recipes etc and trying to figure out how and why they work. Trial and error is not a good way to try to learn OE. > > On Wed, Jul 25, 2018 at 3:26 PM, Andre McCurdy <[email protected]> wrote: >> >> On Wed, Jul 25, 2018 at 11:17 AM, Simon Chamlian <[email protected]> >> wrote: >> > Hi, >> > >> > What is the best way to enable http2 for Apache? >> > >> > Do I add >> > >> > COMMON_EXTRA_OECONF_append_pn-apache2 = "--enable-http2" >> > >> > in local.conf ? >> >> No. >> >> Wondering what process you went through to arrive at that? > > -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
