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>
This commit is contained in:
parent
11d9127ac5
commit
9134463e4d
|
@ -1,9 +1,12 @@
|
||||||
# Vala has problems with multiple concurrent invocations
|
# Vala has problems with multiple concurrent invocations
|
||||||
PARALLEL_MAKE = ""
|
PARALLEL_MAKE = ""
|
||||||
|
|
||||||
# Vala needs vala-native
|
# Everyone needs vala-native and targets need vala, too,
|
||||||
DEPENDS += "vala-native"
|
# because that is where target builds look for .vapi files.
|
||||||
DEPENDS_virtclass-native += "vala-native"
|
#
|
||||||
|
VALADEPENDS = ""
|
||||||
|
VALADEPENDS_class-target = "vala"
|
||||||
|
DEPENDS_append = " vala-native ${VALADEPENDS}"
|
||||||
|
|
||||||
# Our patched version of Vala looks in STAGING_DATADIR for .vapi files
|
# Our patched version of Vala looks in STAGING_DATADIR for .vapi files
|
||||||
export STAGING_DATADIR
|
export STAGING_DATADIR
|
||||||
|
|
Loading…
Reference in New Issue