summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-03-09 17:01:54 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-12 22:11:17 +0000
commit3086dbaabaa5eccd05e091bed9ff0bdf707113fa (patch)
tree0804dbe44d984e5179c55f9b682c5046b416e22a
parent1e2739169fe0db8c6727f3c17dc79e3846033d62 (diff)
downloadopenembedded-core-contrib-3086dbaabaa5eccd05e091bed9ff0bdf707113fa.tar.gz
openembedded-core-contrib-3086dbaabaa5eccd05e091bed9ff0bdf707113fa.tar.bz2
openembedded-core-contrib-3086dbaabaa5eccd05e091bed9ff0bdf707113fa.zip
vala.bbclass: remove pre-packaged vapigen.m4 from tarballs
We need to make sure that our fixed vapigen.m4 is used instead. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/vala.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/vala.bbclass b/meta/classes/vala.bbclass
index 9ff664ac41..615eb379ad 100644
--- a/meta/classes/vala.bbclass
+++ b/meta/classes/vala.bbclass
@@ -16,3 +16,9 @@ FILES_${PN}-dev += "\
${datadir}/vala/vapi/*.deps \
${datadir}/gir-1.0 \
"
+
+# Remove vapigen.m4 that is bundled with tarballs
+# because it does not yet have our cross-compile fixes
+do_configure_prepend() {
+ rm -f ${S}/m4/vapigen.m4
+}