diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-22 19:38:30 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-03 14:55:00 +0100 |
commit | b70c9154e43f80d95c4e81239b3d6a95983b8cfb (patch) | |
tree | a4603b7150268f41e25c612896345e241fcc8241 /meta/classes/image.bbclass | |
parent | 63c6f46b22fc3c8fd2edd6e3c780200d697b4e45 (diff) | |
download | poky-b70c9154e43f80d95c4e81239b3d6a95983b8cfb.tar.gz |
image.bbclass: Add support to build the SDK in parallel with the image
When building an image recipe, you can now build a companion SDK by
calling the populate_sdk task:
bitbake -c populate_sdk core-image-minimal
Note: there are still issues w/ the SDK not working completely with
multilibs.
A lock is required between rootfs and populate_sdk activities to prevent
configuration file clashes and similar package management problems in ipk
and deb based systems. (RPM already had a lock for a different reason.)
(From OE-Core rev: a0de2a56f19ae4d8cd88e46e96917a7a019fe1ab)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9fae1fe43f..24fd868087 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -3,6 +3,11 @@ inherit rootfs_${IMAGE_PKGTYPE} | |||
3 | IMAGETEST ?= "dummy" | 3 | IMAGETEST ?= "dummy" |
4 | inherit imagetest-${IMAGETEST} | 4 | inherit imagetest-${IMAGETEST} |
5 | 5 | ||
6 | inherit populate_sdk_base | ||
7 | |||
8 | TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" | ||
9 | TOOLCHAIN_TARGET_TASK_ATTEMPTONLY += "${PACKAGE_INSTALL_ATTEMPTONLY} ${PACKAGE_GROUP_dev-pkgs} ${PACKAGE_GROUP_dbg-pkgs}" | ||
10 | |||
6 | inherit gzipnative | 11 | inherit gzipnative |
7 | 12 | ||
8 | LICENSE = "MIT" | 13 | LICENSE = "MIT" |