summaryrefslogtreecommitdiffstats
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
commit70141cf14fda57b373c0965e03b6935f598287a7 (patch)
tree998d6cefc241974d891d8ce54fd078e0b2c87b0b
parent461a40fde3e588d74ed4a8b3d69be20d7a0f354d (diff)
downloadmeta-freescale-70141cf14fda57b373c0965e03b6935f598287a7.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>
-rw-r--r--meta-fsl-arm/classes/fsl-eula-unpack.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-fsl-arm/classes/fsl-eula-unpack.bbclass b/meta-fsl-arm/classes/fsl-eula-unpack.bbclass
index 79984060..ba2d0857 100644
--- a/meta-fsl-arm/classes/fsl-eula-unpack.bbclass
+++ b/meta-fsl-arm/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: