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 17:00:08 +0000 |
commit | 9134463e4d823284bf4abf8cc68b06175f216fe5 (patch) | |
tree | c69bb55c9b442ca867ea782f8b48ba7e8b9a4035 /meta/classes | |
parent | 11d9127ac57514394f8297f9fdfc7b31e163fcb8 (diff) | |
download | poky-9134463e4d823284bf4abf8cc68b06175f216fe5.tar.gz |
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)
(From OE-Core rev: e68307c3fb0a02efe5e0789a58686f343c842707)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@ | |||
1 | # Vala has problems with multiple concurrent invocations | 1 | # Vala has problems with multiple concurrent invocations |
2 | PARALLEL_MAKE = "" | 2 | PARALLEL_MAKE = "" |
3 | 3 | ||
4 | # Vala needs vala-native | 4 | # Everyone needs vala-native and targets need vala, too, |
5 | DEPENDS += "vala-native" | 5 | # because that is where target builds look for .vapi files. |
6 | DEPENDS_virtclass-native += "vala-native" | 6 | # |
7 | VALADEPENDS = "" | ||
8 | VALADEPENDS_class-target = "vala" | ||
9 | DEPENDS_append = " vala-native ${VALADEPENDS}" | ||
7 | 10 | ||
8 | # Our patched version of Vala looks in STAGING_DATADIR for .vapi files | 11 | # Our patched version of Vala looks in STAGING_DATADIR for .vapi files |
9 | export STAGING_DATADIR | 12 | export STAGING_DATADIR |