[yocto] [PATCH 10/12] meta-fri2: make the use of emgd-driver-bin COMMERCIAL

Darren Hart dvhart at linux.intel.com
Wed Aug 17 10:25:30 PDT 2011



On 08/17/2011 09:51 AM, tom.zanussi at intel.com wrote:
> From: Tom Zanussi <tom.zanussi at intel.com>
> 
> The emgd-driver-bin recipe now automatically downloads and installs
> EMGD using the new click-through-free tarball, but since the binaries
> still fall under a non-free license, we need to prevent it from being
> accidentally installed in an image.
> 
> We therefore make sure it's labeled in the fri2 layer with
> 'COMMERCIAL_LICENSE'.  In order to build an fri2 image, the user
> now needs to add a 'COMMERCIAL_LICENSE = ""' line to local.conf.
> 
> Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
> ---
>  meta-fri2/conf/layer.conf |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-fri2/conf/layer.conf b/meta-fri2/conf/layer.conf
> index 261cccc..eb17336 100644
> --- a/meta-fri2/conf/layer.conf
> +++ b/meta-fri2/conf/layer.conf
> @@ -10,3 +10,5 @@ BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
>  BBFILE_COLLECTIONS += "fri2"
>  BBFILE_PATTERN_fri2 := "^${LAYERDIR}/"
>  BBFILE_PRIORITY_fri2 = "6"
> +
> +COMMERCIAL_LICENSE += "emgd-driver-bin"

Can't this be done in the common emgd driver recipe? Seems wrong to have
to specify commercial license for recipe in a machine config... A
different machine could just omit it and the user would not have to add
COMMERCIAL_LICENSE = "" to their local.conf and it would be fine?


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the yocto mailing list