[OE-core] [PATCH] webkitgtk: add REQUIRED_DISTRO_FEATURES
alexander.kanavin at linux.intel.com
alexander.kanavin at linux.intel.com
Tue Sep 22 11:12:36 UTC 2015
> Remove x11 from DISTRO_FEATURES ("I'm building a product that doesn't need
> or use X") and build webkitgtk. webkitgtk depends on libxt which depends
> on libx11 which then refuses to build because you explicitly said you
> didn't want X.
>
> We're adding required_distro_feature annotations as required so that world
> builds without X11 enabled still work by skipping the recipes instead of
> failing to build.
But this means you need to add this to every recipe that directly or
indirectly depends on libx11. Which is crazy awkward and error-prone.
Why can't the tools figure out which recipes should be excluded from
builds without explicit annotations?
Alex
More information about the Openembedded-core
mailing list