Fix references to chrpath bbclass
Rename CHRPATH_BIN to PATCHELF_BIN
Signed-off-by: Khem Raj <raj.khem@gmail.com>
inherit packagedata
inherit prserv
-inherit chrpath
+inherit patchelf
PKGD = "${WORKDIR}/package"
PKGDEST = "${WORKDIR}/packages-split"
-CHRPATH_BIN ?= "patchelf"
+PATCHELF_BIN ?= "patchelf"
PREPROCESS_RELOCATE_DIRS ?= ""
def process_dir (directory, d):
import subprocess as sub
import stat
- cmd = d.expand('${CHRPATH_BIN}')
+ cmd = d.expand('${PATCHELF_BIN}')
tmpdir = d.getVar('TMPDIR')
basedir = d.expand('${base_prefix}')
-inherit chrpath
+inherit patchelf
SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess"