[yocto] Specifying license files

Saul Wold sgw at linux.intel.com
Thu Feb 17 01:14:23 PST 2011


On 02/17/2011 12:57 AM, Chris Tapp wrote:
> I'm trying to create a recipe to build libSDL, but I can't get the
> licensing working. My .bb file contains:
>
> LICENSE = "LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
>
This is correct if the md5sum of COPYING is matching.

> The source is downloaded in to tmp/ where I have a
> libsdl-1.2.14-r0/SDL-1.2.14 directory that contains the COPYING file.
>
Since the source is created in a subdirectory, you need to reset the $S as:

S = "${WORKDIR}/SDL-${PV}"

${PV} is derived from the version of the recipe, you do not need to set 
it explicitly.

> How should I specify this in LIC_FILES_CHKSUM ?
>
By setting S as above this will give the file:// root to be under the 
SDL-1.2.14 directory.

Sau!

> Chris Tapp
>
> opensource at keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>




More information about the yocto mailing list