diff options
-rw-r--r-- | classes/fsl-eula-unpack.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass index 7b62f089..85099542 100644 --- a/classes/fsl-eula-unpack.bbclass +++ b/classes/fsl-eula-unpack.bbclass | |||
@@ -10,6 +10,11 @@ LIC_FILES_CHKSUM_append = " file://${FSL_EULA_FILE};md5=6c12031a11b81db21cdfe0be | |||
10 | 10 | ||
11 | LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE" | 11 | LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE" |
12 | 12 | ||
13 | do_fetch_prepend() { | ||
14 | if "Proprietary" not in d.getVar("LICENSE"): | ||
15 | bb.fatal("The recipe LICENSE should include Proprietary but is " + d.getVar("LICENSE") + ".") | ||
16 | } | ||
17 | |||
13 | python fsl_bin_do_unpack() { | 18 | python fsl_bin_do_unpack() { |
14 | src_uri = (d.getVar('SRC_URI') or "").split() | 19 | src_uri = (d.getVar('SRC_URI') or "").split() |
15 | if len(src_uri) == 0: | 20 | if len(src_uri) == 0: |