From fb661939e7cf6f996e991eadafc32688be467c8a Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 1 Aug 2012 13:36:07 -0700 Subject: [PATCH] eglibc-sourcery: skip package when not using exttc Signed-off-by: Christopher Larson --- recipes/eglibc/eglibc-sourcery.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes/eglibc/eglibc-sourcery.bb b/recipes/eglibc/eglibc-sourcery.bb index a15bd30..1c7e72e 100644 --- a/recipes/eglibc/eglibc-sourcery.bb +++ b/recipes/eglibc/eglibc-sourcery.bb @@ -53,3 +53,11 @@ do_configure () { } require recipes/eglibc/eglibc-package-adjusted.inc + +CSL_VER_MAIN ??= "" +CSL_VER_LIBC ??= "" + +python () { + if not d.getVar("CSL_VER_MAIN"): + raise bb.parse.SkipPackage("External CSL toolchain not configured (CSL_VER_MAIN not set).") +}