generic-poky/meta
Jussi Kukkonen db1f1adace native/nativesdk: Use fixed DISTRO_FEATURES
There seems to be little advantage to letting distro features affect
native builds. There is a significant disadvantage: a change to
DISTRO_FEATURES will trigger a lot of unnecessary native tasks. In a
test like this:
  $ bitbake core-image-minimal
  # append " systemd" to DISTRO_FEATURES
  $ bitbake core-image-minimal
The latter build takes 44 minutes (28%) of cpu-time less with this
patch (skipping 135 native tasks). Sadly wall clock time was not
affected as glibc remains the bottleneck.

Set native distro features to DISTRO_FEATURES_NATIVE appended with
an intersection of DISTRO_FEATURES and DISTRO_FEATURES_FILTER_NATIVE.
Current default values (baitbake.conf) are
* DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation" (as gtk-doc-native
has much less dependencies when built without it)
* DISTRO_FEATURES_NATIVE ?= "x11" (to enable native UIs even if target
does not containe them)

Do the variable setting in native_virtclass_handler() because otherwise
it could still be overridden by appends and the feature backfilling.
Shuffle the early returns so DISTRO_FEATURES gets set as long as
the packagename ends with "-native".

Add similar variables for nativesdk.

To make nativesdk work we need to enable the locale options so
nativesdk-glibc-locales can build and to avoid the init manager check
in the nativesdk case so add those fixes.

(From OE-Core rev: 731744d5538e315702be828e6f2bd556309dee07)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-12 15:09:58 +01:00
..
classes native/nativesdk: Use fixed DISTRO_FEATURES 2017-04-12 15:09:58 +01:00
conf native/nativesdk: Use fixed DISTRO_FEATURES 2017-04-12 15:09:58 +01:00
files fs-perms.txt: Two cleanup tweaks for consistency. 2017-03-17 16:53:05 +00:00
lib package_manager.py: Add a name for the generated dnf repo. 2017-04-12 15:09:58 +01:00
recipes-bsp gnu-efi: copy header files for x32 build 2017-04-11 18:10:17 +01:00
recipes-connectivity openssl: fix the reference to native perl in ptests 2017-04-11 18:10:18 +01:00
recipes-core musl: Upgrade to latest tip 2017-04-11 18:10:17 +01:00
recipes-devtools binutils: Fix CVE-2017-6965 and CVE-2017-6966 2017-04-11 18:10:18 +01:00
recipes-extended libsolv: correctly attribute musl fixing patches 2017-04-11 18:10:18 +01:00
recipes-gnome nativesdk-packagegroup-sdk-host: replace smartpm with dnf 2017-03-14 14:42:17 +00:00
recipes-graphics libjpeg-turbo: don't depend on NASM for non-x86 targets 2017-04-05 23:22:13 +01:00
recipes-kernel kmod: set ac_cv_path_DOLT_BASH to /usr/bin/env bash 2017-04-10 23:00:43 +01:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia gstreamer1.0-plugins-good: Backport patch for v4l2object videometa 2017-04-11 18:10:18 +01:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support ptest-runner: Upgrade to minor version 2.0.2 2017-04-11 18:10:18 +01:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00