[OE-core] [PATCH] bitbake.conf: don't build api-documentation for native and nativesdk

Ross Burton ross.burton at intel.com
Thu Mar 28 23:30:11 UTC 2019


DISTRO_FEATURES for native and nativesdk is filtered to contain a subset of the
features for the target DISTRO_FEATURES.  api-documentation was a feature that
was allowed into the native/nativesdk features if it was in the target, but
having API documentation for native recipes isn't really useful.

As building this documentation takes time, remove it from native/nativesdk
builds so that we only build the api-documentation for target recipes.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 7f8b043cc45..86a9e4b8281 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -833,8 +833,8 @@ DISTRO_FEATURES_NATIVESDK ?= "x11"
 
 # Normally target distro features will not be applied to native builds:
 # Native distro features on this list will use the target feature value
-DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation"
-DISTRO_FEATURES_FILTER_NATIVESDK ?= "api-documentation"
+DISTRO_FEATURES_FILTER_NATIVE ?= ""
+DISTRO_FEATURES_FILTER_NATIVESDK ?= ""
 
 DISTRO_FEATURES_BACKFILL = "pulseaudio sysvinit bluez5 gobject-introspection-data ldconfig"
 MACHINE_FEATURES_BACKFILL = "rtc qemu-usermode"
-- 
2.11.0



More information about the Openembedded-core mailing list