diff options
author | Joe Slater <jslater@windriver.com> | 2013-10-29 10:17:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 16:53:03 +0000 |
commit | e68307c3fb0a02efe5e0789a58686f343c842707 (patch) | |
tree | 73e11558f0d104368b19addc1adc714a1353394e /meta/classes | |
parent | b114b045687776ebc5c805e1f19758e7e37eebf2 (diff) | |
download | openembedded-core-e68307c3fb0a02efe5e0789a58686f343c842707.tar.gz openembedded-core-e68307c3fb0a02efe5e0789a58686f343c842707.tar.bz2 openembedded-core-e68307c3fb0a02efe5e0789a58686f343c842707.zip |
vala.bbclass: add dependency on vala
This class points the inheritor, if it is a target,
to directories in the target sysroot, so we want to
be sure the .vapi files are there.
(From OE-Core master rev: 2da8bbd47686f54efeec521d521f176f6aeb8d39)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/vala.bbclass | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/classes/vala.bbclass b/meta/classes/vala.bbclass index c7db08ceeb..0b7803b251 100644 --- a/meta/classes/vala.bbclass +++ b/meta/classes/vala.bbclass @@ -1,9 +1,12 @@ # Vala has problems with multiple concurrent invocations PARALLEL_MAKE = "" -# Vala needs vala-native -DEPENDS += "vala-native" -DEPENDS_virtclass-native += "vala-native" +# Everyone needs vala-native and targets need vala, too, +# because that is where target builds look for .vapi files. +# +VALADEPENDS = "" +VALADEPENDS_class-target = "vala" +DEPENDS_append = " vala-native ${VALADEPENDS}" # Our patched version of Vala looks in STAGING_DATADIR for .vapi files export STAGING_DATADIR |