From: Joe Slater Date: Tue, 29 Oct 2013 17:17:04 +0000 (-0700) Subject: vala.bbclass: add dependency on vala X-Git-Tag: 2015-4~4746 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2da8bbd47686f54efeec521d521f176f6aeb8d39;p=openembedded-core.git 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. Signed-off-by: Joe Slater Signed-off-by: Saul Wold --- 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