Skip to contentSkip to conversation

bitbake.conf: don't build api-documentation for native and nativesdk

PATCH In review Ross Burton 1 participant 2 messages Mar 28, 2019 – Mar 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: don't build api-documentation for native and nativesdk

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.

---
 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/conf/bitbake.conf +2 -2
index 7f8b043cc45..86a9e4b8281 100644
@@ -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"
Signature · 1 line
2.11.0
#1 lore raw

Ignore this: totally breaks. I might add a better comment instead.

Ross

Quoted 32 lines · Ross Burton

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.

---
 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/conf/bitbake.conf +2 -3
index 7f8b043cc45..86a9e4b8281 100644
@@ -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