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 <[email protected]>
   Date:   Wed Oct 23 22:30:41 2013 +0000

       fsl-eula-unpack: add FSL_EULA_FILE to vardepsexclude

Signed-off-by: Stefan Christ <[email protected]>
---
 classes/fsl-eula-unpack.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index 0da17c3..55872e5 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -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:
-- 
1.9.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to