mirror of
git://git.yoctoproject.org/poky.git
synced 2025-08-22 00:42:05 +02:00

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>
9 lines
359 B
Plaintext
9 lines
359 B
Plaintext
DEPENDS:append = " python3-cython-native"
|
|
|
|
do_compile[postfuncs] = "strip_cython_metadata"
|
|
strip_cython_metadata() {
|
|
# Remove the Cython Metadata headers that we don't need after the build, and
|
|
# may contain build paths.
|
|
find ${S} -name "*.c" -print0 | xargs --no-run-if-empty --null sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d"
|
|
}
|