diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-11-19 16:10:07 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-21 12:16:28 +0000 |
| commit | 177db2d9f6623c446ad74ec852f3ab5ea64f8461 (patch) | |
| tree | 90c9c10b0a38bfe2013e3dd8fc5e80007d374537 /meta/classes-recipe/cython.bbclass | |
| parent | a48f435d7581a3d246e103d1addf845444a9bd0d (diff) | |
| download | poky-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.bbclass | 3 |
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 @@ | |||
| 1 | DEPENDS:append = " python3-cython-native" | 1 | DEPENDS:append = " python3-cython-native" |
| 2 | 2 | ||
| 3 | # Remap the build paths that appear in generated .c code | ||
| 4 | export CYTHON_PREFIX_MAP = "${S}=${TARGET_DBGSRC_DIR} ${B}=${TARGET_DBGSRC_DIR}" | ||
| 5 | |||
| 6 | do_compile[postfuncs] = "strip_cython_metadata" | 3 | do_compile[postfuncs] = "strip_cython_metadata" |
| 7 | strip_cython_metadata() { | 4 | strip_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 |
