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:44 +0000
commit4fbf761027dcfc0b163e23701f9ea814cdca359a (patch)
tree982c27903abec83a5b13ef858658c22c505e7391
parent235455d9a7f5055ac731666c0433dd459004c3bb (diff)
downloadopenembedded-core-contrib-4fbf761027dcfc0b163e23701f9ea814cdca359a.tar.gz
openembedded-core-contrib-4fbf761027dcfc0b163e23701f9ea814cdca359a.tar.bz2
openembedded-core-contrib-4fbf761027dcfc0b163e23701f9ea814cdca359a.zip
vala.bbclass: remove pre-packaged vapigen.m4 from tarballs
We need to make sure that our fixed vapigen.m4 is used instead. (From OE-Core rev: 3086dbaabaa5eccd05e091bed9ff0bdf707113fa) 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
+}