sip.bbclass: fix sip-native dependency
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 1 Aug 2012 14:38:00 +0000 (16:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Aug 2012 14:28:37 +0000 (15:28 +0100)
(From OE-Core rev: 5f1af539b3d34e6689a69d09c69d9099eee983d4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sip.bbclass

index 3a00e4d..074d4dd 100644 (file)
@@ -9,6 +9,9 @@ RDEPENDS += "python-sip"
 # default stuff, do not uncomment
 # EXTRA_SIPTAGS = "-tWS_X11 -tQt_4_3_0"
 
+# do_generate is before do_configure so ensure that sip_native is populated in sysroot before executing it
+do_generate[depends] += "sip-native:do_populate_sysroot"
+
 sip_do_generate() {
        if [ -z "${SIP_MODULES}" ]; then 
                MODULES="`ls sip/*mod.sip`"