]> code.ossystems Code Review - meta-freescale.git/commitdiff
fsl-eula-unpack: deploy Freescale EULA
authorStefan Christ <s.christ@phytec.de>
Thu, 28 May 2015 08:55:24 +0000 (10:55 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 1 Jun 2015 23:47:51 +0000 (20:47 -0300)
Add the file which contains the Freescale EULA to variable
LIC_FILES_CHKSUM, so the EULA is deployed in the folder

    ${LICENSE_DIRECTORY}/${PN}/

for all recipes which use the bbclass fsl-eula-unpack.

Add a vardepsexclude to variable LIC_FILES_CHKSUM to share the sstate
cache across multiple build directories.  See commit

   commit e8c6cf822889c02b76db03f2e9c6915a1bda1c06
   Author: Christopher Larson <kergoth@gmail.com>
   Date:   Wed Oct 23 22:30:41 2013 +0000

       fsl-eula-unpack: add FSL_EULA_FILE to vardepsexclude

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/classes/fsl-eula-unpack.bbclass

index 799840608c34423b67981e87c50f7710cead3f34..ba2d085797449aa6602346ef8198933067c4fe29 100644 (file)
@@ -6,6 +6,9 @@
 #
 #  SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true"
 
+LIC_FILES_CHKSUM += "file://${FSL_EULA_FILE};md5=6df184a9b1950b68e17fdcd7513bdb97"
+LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE"
+
 python fsl_bin_do_unpack() {
     src_uri = (d.getVar('SRC_URI', True) or "").split()
     if len(src_uri) == 0: