From a0de2a56f19ae4d8cd88e46e96917a7a019fe1ab Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 22 Jun 2012 19:38:30 -0500 Subject: 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.) Signed-off-by: Mark Hatle --- meta/classes/populate_sdk_deb.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/populate_sdk_deb.bbclass') diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass index c3b3e0cde1..9e9e1e1d8b 100644 --- a/meta/classes/populate_sdk_deb.bbclass +++ b/meta/classes/populate_sdk_deb.bbclass @@ -6,6 +6,8 @@ DEB_SDK_ARCH = "${@[d.getVar('SDK_ARCH', True), "i386"]\ [d.getVar('SDK_ARCH', True) in \ ["x86", "i486", "i586", "i686", "pentium"]]}" +do_populate_sdk[lockfiles] += "${WORKDIR}/deb.lock" + populate_sdk_post_deb () { local target_rootfs=$1 -- cgit v1.2.3