From 0e486c71121dafe7a8d67f0e1d9734c0c2db7eb6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 6 Dec 2012 11:37:49 +0000 Subject: image/populate_sdk: Simplify imagetest inclusion and drop dummy class file Having to include some dummy class is suboptimal and we no longer need to do this. Also move this check to populate_sdk_base since we then don't need to include it in toolchains specifically. (From OE-Core rev: 2ee979ff71d31e497be856ea1443667c6d799d34) Signed-off-by: Richard Purdie --- meta/classes/populate_sdk_base.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes/populate_sdk_base.bbclass') diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 88bcb27757..473b12673b 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass @@ -1,6 +1,9 @@ inherit meta toolchain-scripts inherit populate_sdk_${IMAGE_PKGTYPE} +IMAGETESTCLASS = "${@oe.utils.ifelse(d.getVar('IMAGETEST'),'imagetest-' + (d.getVar('IMAGETEST') or ""),'')}" +inherit ${IMAGETESTCLASS} + SDK_DIR = "${WORKDIR}/sdk" SDK_OUTPUT = "${SDK_DIR}/image" SDK_DEPLOY = "${TMPDIR}/deploy/sdk" -- cgit v1.2.3-54-g00ecf