All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bitbake.conf: don't build api-documentation for native and nativesdk
@ 2019-03-28 23:30 Ross Burton
  2019-03-29  0:16 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2019-03-28 23:30 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bitbake.conf: don't build api-documentation for native and nativesdk
  2019-03-28 23:30 [PATCH] bitbake.conf: don't build api-documentation for native and nativesdk Ross Burton
@ 2019-03-29  0:16 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2019-03-29  0:16 UTC (permalink / raw)
  To: OE-core

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
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-29  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-28 23:30 [PATCH] bitbake.conf: don't build api-documentation for native and nativesdk Ross Burton
2019-03-29  0:16 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.