summaryrefslogtreecommitdiffstats
path: root/meta/classes/vala.bbclass
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2013-10-29 10:17:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-30 17:33:12 +0000
commit15bc2ddaf9a0af079996a0c02c0611b89594ad4a (patch)
treecdf70e2ed703635c01a1f4d9eda6b5e7ff959b49 /meta/classes/vala.bbclass
parentbd1cf71974699e4dd5fac88ffdf54cf7f53f67e3 (diff)
downloadpoky-15bc2ddaf9a0af079996a0c02c0611b89594ad4a.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 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>
Diffstat (limited to 'meta/classes/vala.bbclass')
-rw-r--r--meta/classes/vala.bbclass9
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
2PARALLEL_MAKE = "" 2PARALLEL_MAKE = ""
3 3
4# Vala needs vala-native 4# Everyone needs vala-native and targets need vala, too,
5DEPENDS += "vala-native" 5# because that is where target builds look for .vapi files.
6DEPENDS_virtclass-native += "vala-native" 6#
7VALADEPENDS = ""
8VALADEPENDS_class-target = "vala"
9DEPENDS_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
9export STAGING_DATADIR 12export STAGING_DATADIR