summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-06 17:34:19 +0100
committerSteve Sakoman <steve@sakoman.com>2022-07-17 16:59:57 -1000
commitcd3821fd52115d0eacdad4ba37f5c51a49b6990e (patch)
treec6cf330a3a1548d20ef2fd85ff9e001610f875ca /meta/recipes-devtools
parentdfe0a723bc76f6f98b8edcaf84563a39a64e2c3c (diff)
downloadopenembedded-core-contrib-cd3821fd52115d0eacdad4ba37f5c51a49b6990e.tar.gz
vala: Fix on target wrapper buildpaths issue
The on target wrapper contains paths from the host build. Remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 10980ae59f18679413f2d3fd428a9386e4d6fc3a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/vala/vala.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
index 90e0b77de0..974baa33f5 100644
--- a/meta/recipes-devtools/vala/vala.inc
+++ b/meta/recipes-devtools/vala/vala.inc
@@ -60,3 +60,9 @@ vapigen_sysroot_preprocess() {
}
SSTATE_SCAN_FILES += "vapigen-wrapper"
+
+PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess"
+
+vala_package_preprocess () {
+ sed -i -e 's:${RECIPE_SYSROOT}::g;' ${PKGD}${bindir}/vapigen-wrapper
+}