summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-08-01 16:38:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-02 15:17:57 +0100
commit5f1af539b3d34e6689a69d09c69d9099eee983d4 (patch)
tree075de3113e9fccce249de7f2c2daba29012c7025
parent191f06e8886209341a1822f5078fdf410dc86202 (diff)
downloadopenembedded-core-5f1af539b3d34e6689a69d09c69d9099eee983d4.tar.gz
openembedded-core-5f1af539b3d34e6689a69d09c69d9099eee983d4.tar.bz2
openembedded-core-5f1af539b3d34e6689a69d09c69d9099eee983d4.zip
sip.bbclass: fix sip-native dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sip.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sip.bbclass b/meta/classes/sip.bbclass
index 3a00e4dbd8..074d4ddd7a 100644
--- a/meta/classes/sip.bbclass
+++ b/meta/classes/sip.bbclass
@@ -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`"