mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-10 21:18:19 +00:00
python3-{h5py,pandas}: drop ${PE}, ${PR} from /usr/src/debug paths
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
5d577748ca
commit
445b33e9b3
@ -24,7 +24,7 @@ DEPENDS = "python3-pkgconfig-native \
|
|||||||
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
||||||
|
|
||||||
fix_cythonized_sources() {
|
fix_cythonized_sources() {
|
||||||
for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do
|
for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do
|
||||||
if [ -e $f ]; then
|
if [ -e $f ]; then
|
||||||
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -19,7 +19,7 @@ DEPENDS += " \
|
|||||||
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
||||||
|
|
||||||
fix_cythonized_sources() {
|
fix_cythonized_sources() {
|
||||||
for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do
|
for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do
|
||||||
if [ -e $f ]; then
|
if [ -e $f ]; then
|
||||||
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user