If ccache is enabled then HOSTTOOLS_DIR ends up in __config__.py, so
remove that path too.
Also remove redundant entries: there's no need to remove both
${RECIPE_SYSROOT}= and ${RECIPE_SYSROOT}.
Signed-off-by: Ross Burton <[email protected]>
---
meta/recipes-devtools/python/python3-numpy_2.5.1.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/python/python3-numpy_2.5.1.bb
b/meta/recipes-devtools/python/python3-numpy_2.5.1.bb
index 88786dc0168..d053cc56932 100644
--- a/meta/recipes-devtools/python/python3-numpy_2.5.1.bb
+++ b/meta/recipes-devtools/python/python3-numpy_2.5.1.bb
@@ -29,10 +29,10 @@ do_install:append() {
sed -i \
-e 's|${S}=||g' \
-e 's|${B}=||g' \
- -e 's|${RECIPE_SYSROOT_NATIVE}=||g' \
-e 's|${RECIPE_SYSROOT_NATIVE}||g' \
- -e 's|${RECIPE_SYSROOT}=||g' \
- -e 's|${RECIPE_SYSROOT}||g'
${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
+ -e 's|${RECIPE_SYSROOT}||g' \
+ -e 's|${HOSTTOOLS_DIR}||g' \
+ ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
nativepython3 -mcompileall -s ${D}
${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
}
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242862):
https://lists.openembedded.org/g/openembedded-core/message/242862
Mute This Topic: https://lists.openembedded.org/mt/120608562/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-