From 177db2d9f6623c446ad74ec852f3ab5ea64f8461 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 19 Nov 2024 16:10:07 +0000 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes-recipe/cython.bbclass | 3 --- 1 file changed, 3 deletions(-) (limited to 'meta/classes-recipe/cython.bbclass') 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 @@ DEPENDS:append = " python3-cython-native" -# Remap the build paths that appear in generated .c code -export CYTHON_PREFIX_MAP = "${S}=${TARGET_DBGSRC_DIR} ${B}=${TARGET_DBGSRC_DIR}" - do_compile[postfuncs] = "strip_cython_metadata" strip_cython_metadata() { # Remove the Cython Metadata headers that we don't need after the build, and -- cgit v1.2.3-54-g00ecf