summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorStefan Christ <s.christ@phytec.de>2015-05-28 10:55:24 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2015-06-01 20:47:51 -0300
commit9c0e329fa02673a990630f6e400157ca30e3447f (patch)
treeba17a494cecffa924fee0bec24073b9d56353683 /classes
parent56b3ff40a94d6304fdbe387d312c55cec3a6e7e6 (diff)
downloadmeta-fsl-arm-9c0e329fa02673a990630f6e400157ca30e3447f.tar.gz
fsl-eula-unpack: deploy Freescale EULA
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>
Diffstat (limited to 'classes')
-rw-r--r--classes/fsl-eula-unpack.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index 7998406..ba2d085 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -6,6 +6,9 @@
6# 6#
7# SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true" 7# SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true"
8 8
9LIC_FILES_CHKSUM += "file://${FSL_EULA_FILE};md5=6df184a9b1950b68e17fdcd7513bdb97"
10LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE"
11
9python fsl_bin_do_unpack() { 12python fsl_bin_do_unpack() {
10 src_uri = (d.getVar('SRC_URI', True) or "").split() 13 src_uri = (d.getVar('SRC_URI', True) or "").split()
11 if len(src_uri) == 0: 14 if len(src_uri) == 0: