[OE-core] [PATCHv2 0/4] Use fixed DISTRO_FEATURES for native

Jussi Kukkonen jussi.kukkonen at intel.com
Tue Apr 11 10:55:14 UTC 2017


Avoid signifant native task churn when DISTRO_FEATURES is changed
by defining (almost) fixed DISTRO_FEATURES for native recipes.

The DISTRO_FEATURES_FILTER_NATIVE variable lists the features that do
change based on DISTRO_FEATURES: currently the default value is
"api-documentation".

Changes since V1:
* Add DISTRO_FEATURES_FILTER_NATIVE instead of just a fixed list
* Use DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation": this is
  required for gtk-doc to work (and we don't want to enable it for
  all builds because of extensive dependencies)
* Only remove "x11" from required features for native x font tools:
  otherwise a non-x11 world build fails


Thanks,
 Jussi

The following changes since commit 0793c758b15e5007b4dd4b146987a0e74d6f6cba:

  Revert "staging: Fix sysroot problem with populate_sysroot dependencies on do_fetch" (2017-04-11 00:57:03 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib jku/native-distro-features
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/native-distro-features

Jussi Kukkonen (4):
  mkfontdir: Remove x11 requirement for -native
  mkfontscale: Remove x11 requirement for -native
  xorg-font-common.inc: Remove x11 requirement for -native
  native.bbclass: Use fixed DISTRO_FEATURES

 meta/classes/native.bbclass                          | 13 +++++++++----
 meta/conf/bitbake.conf                               |  4 ++++
 meta/recipes-graphics/xorg-app/mkfontdir_1.0.7.bb    |  3 +++
 meta/recipes-graphics/xorg-app/mkfontscale_1.1.2.bb  |  2 ++
 meta/recipes-graphics/xorg-font/xorg-font-common.inc |  1 +
 5 files changed, 19 insertions(+), 4 deletions(-)

-- 
2.1.4




More information about the Openembedded-core mailing list