summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-02-21 17:46:43 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-22 22:11:26 +0000
commitf409a49c3a51c28e39c37e449072b412fc0e8889 (patch)
treebc5853e7cdb33090e5ad772409f5d7826285ef04 /meta/recipes-core
parent83007574ccca5e3ebab9e69695833d640ae90465 (diff)
downloadpoky-f409a49c3a51c28e39c37e449072b412fc0e8889.tar.gz
external-csl-toolchain: skip parsing if CSL_VER_MAIN isn't set
(From OE-Core rev: 264d1254e5ac11613af06c0f1c53c736f54e9f54) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/meta/external-csl-toolchain.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb
index d15578bf78..07c3e3065a 100644
--- a/meta/recipes-core/meta/external-csl-toolchain.bb
+++ b/meta/recipes-core/meta/external-csl-toolchain.bb
@@ -150,3 +150,11 @@ FILES_linux-libc-headers = "${includedir}/asm* \
150" 150"
151FILES_gdbserver = "${bindir}/gdbserver ${libdir}/bin/sysroot-gdbserver" 151FILES_gdbserver = "${bindir}/gdbserver ${libdir}/bin/sysroot-gdbserver"
152FILES_gdbserver-dbg = "${bindir}/.debug/gdbserver" 152FILES_gdbserver-dbg = "${bindir}/.debug/gdbserver"
153
154CSL_VER_MAIN ??= ""
155
156python () {
157 if not d.getVar("CSL_VER_MAIN"):
158 raise bb.parse.SkipPackage("External CSL toolchain not configured (CSL_VER_MAIN not set).")
159}
160