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

Message ID 20190328233011.6977-1-ross.burton@intel.com
State New
Headers show
Series
  • bitbake.conf: don't build api-documentation for native and nativesdk
Related show

Commit Message

Ross Burton March 28, 2019, 11:30 p.m.
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@intel.com>

---
 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Ross Burton March 29, 2019, 12:16 a.m. | #1
Ignore this: totally breaks. I might add a better comment instead.

Ross

On Thu, 28 Mar 2019 at 23:30, Ross Burton <ross.burton@intel.com> wrote:
>

> 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@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

>

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

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"