diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/classes/relocatable.bbclass')
-rw-r--r-- | import-layers/yocto-poky/meta/classes/relocatable.bbclass | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/import-layers/yocto-poky/meta/classes/relocatable.bbclass b/import-layers/yocto-poky/meta/classes/relocatable.bbclass deleted file mode 100644 index 582812c1c..000000000 --- a/import-layers/yocto-poky/meta/classes/relocatable.bbclass +++ /dev/null @@ -1,18 +0,0 @@ -inherit chrpath - -SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess relocatable_native_pcfiles" - -python relocatable_binaries_preprocess() { - rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d) -} - -relocatable_native_pcfiles () { - if [ -d ${SYSROOT_DESTDIR}${libdir}/pkgconfig ]; then - rel=${@os.path.relpath(d.getVar('base_prefix'), d.getVar('libdir') + "/pkgconfig")} - sed -i -e "s:${base_prefix}:\${pcfiledir}/$rel:g" ${SYSROOT_DESTDIR}${libdir}/pkgconfig/*.pc - fi - if [ -d ${SYSROOT_DESTDIR}${datadir}/pkgconfig ]; then - rel=${@os.path.relpath(d.getVar('base_prefix'), d.getVar('datadir') + "/pkgconfig")} - sed -i -e "s:${base_prefix}:\${pcfiledir}/$rel:g" ${SYSROOT_DESTDIR}${datadir}/pkgconfig/*.pc - fi -} |