diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-02-21 17:46:43 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-22 22:11:26 +0000 |
commit | f409a49c3a51c28e39c37e449072b412fc0e8889 (patch) | |
tree | bc5853e7cdb33090e5ad772409f5d7826285ef04 /meta/recipes-core | |
parent | 83007574ccca5e3ebab9e69695833d640ae90465 (diff) | |
download | poky-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.bb | 8 |
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 | " |
151 | FILES_gdbserver = "${bindir}/gdbserver ${libdir}/bin/sysroot-gdbserver" | 151 | FILES_gdbserver = "${bindir}/gdbserver ${libdir}/bin/sysroot-gdbserver" |
152 | FILES_gdbserver-dbg = "${bindir}/.debug/gdbserver" | 152 | FILES_gdbserver-dbg = "${bindir}/.debug/gdbserver" |
153 | |||
154 | CSL_VER_MAIN ??= "" | ||
155 | |||
156 | python () { | ||
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 | |||