diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-06 11:37:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-07 17:13:12 +0000 |
commit | 0e486c71121dafe7a8d67f0e1d9734c0c2db7eb6 (patch) | |
tree | 42deba38e7fc968d81c8fb8c4e5b6a7ed66f8e22 /meta/classes/populate_sdk_base.bbclass | |
parent | e3c2952766c1268afe8928295c02b2b17c5cc78a (diff) | |
download | poky-0e486c71121dafe7a8d67f0e1d9734c0c2db7eb6.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
1 | inherit meta toolchain-scripts | 1 | inherit meta toolchain-scripts |
2 | inherit populate_sdk_${IMAGE_PKGTYPE} | 2 | inherit populate_sdk_${IMAGE_PKGTYPE} |
3 | 3 | ||
4 | IMAGETESTCLASS = "${@oe.utils.ifelse(d.getVar('IMAGETEST'),'imagetest-' + (d.getVar('IMAGETEST') or ""),'')}" | ||
5 | inherit ${IMAGETESTCLASS} | ||
6 | |||
4 | SDK_DIR = "${WORKDIR}/sdk" | 7 | SDK_DIR = "${WORKDIR}/sdk" |
5 | SDK_OUTPUT = "${SDK_DIR}/image" | 8 | SDK_OUTPUT = "${SDK_DIR}/image" |
6 | SDK_DEPLOY = "${TMPDIR}/deploy/sdk" | 9 | SDK_DEPLOY = "${TMPDIR}/deploy/sdk" |