summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/cython.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-11-19 16:10:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-21 12:16:28 +0000
commit177db2d9f6623c446ad74ec852f3ab5ea64f8461 (patch)
tree90c9c10b0a38bfe2013e3dd8fc5e80007d374537 /meta/classes-recipe/cython.bbclass
parenta48f435d7581a3d246e103d1addf845444a9bd0d (diff)
downloadpoky-177db2d9f6623c446ad74ec852f3ab5ea64f8461.tar.gz
cython: swap prefix-mapping patch for an upstream commit
Upstream has solved the absolute path problem differently by taking paths relative to the top of the module. This appears to solve the problem, at least I've not found any cases where it breaks. Drop my patch, and backport the relevant commit from upstream. (From OE-Core rev: 47f7808dd93e50fb3ecddbf980e40e51dd7376cb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/cython.bbclass')
-rw-r--r--meta/classes-recipe/cython.bbclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes-recipe/cython.bbclass b/meta/classes-recipe/cython.bbclass
index 53b84f5f5e..dd9fc732bc 100644
--- a/meta/classes-recipe/cython.bbclass
+++ b/meta/classes-recipe/cython.bbclass
@@ -1,8 +1,5 @@
1DEPENDS:append = " python3-cython-native" 1DEPENDS:append = " python3-cython-native"
2 2
3# Remap the build paths that appear in generated .c code
4export CYTHON_PREFIX_MAP = "${S}=${TARGET_DBGSRC_DIR} ${B}=${TARGET_DBGSRC_DIR}"
5
6do_compile[postfuncs] = "strip_cython_metadata" 3do_compile[postfuncs] = "strip_cython_metadata"
7strip_cython_metadata() { 4strip_cython_metadata() {
8 # Remove the Cython Metadata headers that we don't need after the build, and 5 # Remove the Cython Metadata headers that we don't need after the build, and