bitbake.conf: don't build api-documentation for native and nativesdk
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
@@ -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
Ignore this: totally breaks. I might add a better comment instead.
Ross
Quoted 32 lines · Ross Burton
DISTRO_FEATURESfor native and nativesdk is filtered to contain a subset of the features for the targetDISTRO_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 <[email protected]>--- meta/conf/bitbake.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/conf/bitbake.conf +2
-3@@ -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