generic-poky/meta/conf
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
..
distro python-pycurl: create python3-pycurl recipe 2017-04-10 23:00:44 +01:00
machine qemux86*.conf: changed dependency task for syslinux 2017-04-10 23:00:43 +01:00
machine-sdk classes/nativesdk: set SDK_OLDEST_KERNEL appropriately 2016-11-06 23:35:33 +00:00
multiconfig bitbake.conf: require conf/multiconfig/${BB_CURRENT_MC}.conf 2017-01-17 11:31:36 +00:00
abi_version.conf sanity/abi-version: Force a clean TMPDIR after recipe specific sysroot changes 2017-01-23 23:30:14 +00:00
bitbake.conf native/nativesdk: Use fixed DISTRO_FEATURES 2017-04-12 15:09:58 +01:00
conf-notes.txt adt-installer: Drop since its replaced by the extensible SDK 2016-02-28 11:31:17 +00:00
documentation.conf Remove RM_OLD_IMAGE, it's no longer useful 2016-10-15 10:01:42 +01:00
layer.conf base/bitbake.conf: Filter contents of PATH to only allow whitelisted tools 2017-03-11 16:09:14 +00:00
licenses.conf licenses.conf: Fix variable name in comments (FOSS_NO_COPYRIGHT) 2016-11-23 11:10:14 +00:00
migrate_localcount.conf prserv: add LOCALCOUNT to AUTOINCs migration feature 2013-01-22 16:01:32 +00:00
multilib.conf Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
prexport.conf meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
primport.conf meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
sanity.conf sanity: Require bitbake 1.33.4 2017-04-10 23:00:43 +01:00